In this task, you need to count the number of words in a sentence that contain the given letter

Sentence: 'a kitchen with a dining room table and a sitting area'. How many words contain the letter 'r' in the sentence.
2

Sentence: 'a couple of horses standing next to each other on a field'. How many words contain the letter 'q' in the sentence.
0

Sentence: 'a traffic light showing green signalstreet sign board is there'. How many words contain the letter 'k' in the sentence.

0