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

Sentence: 'a kitchen filled with appliances and furniture next to windows'. How many words contain the letter 'p' in the sentence.
1

Sentence: 'a man walking with rolling luggage and many bags'. How many words contain the letter 'g' in the sentence.
4

Sentence: 'a female in a black and white shirt is playing tennis'. How many words contain the letter 'm' in the sentence.

1