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

Sentence: 'he wants everyone to know that he has serious intentions for the tennis game'. How many words contain the letter 'h' in the sentence.
5

Sentence: 'several men standing up in a large room holding wii controllers'. How many words contain the letter 'h' in the sentence.
1

Sentence: 'a woman is standing at a fruit stand'. How many words contain the letter 'y' in the sentence.

0