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

Q: Sentence: 'a beautiful woman playing with a small green bird'. How many words contain the letter 't' in the sentence.

A: 2
****
Q: Sentence: 'smiling woman with hair in her face talking on a cellphone'. How many words contain the letter 'q' in the sentence.

A: 0
****
Q: Sentence: 'a group of men standing next to a truck unloading it'. How many words contain the letter 'g' in the sentence.

A:
3
****