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

Q: Sentence: 'a batter sings his bat at a baseball game'. How many words contain the letter 'h' in the sentence.

A: 1
****
Q: Sentence: 'the black bears are together on the rocks eating outside'. How many words contain the letter 'y' in the sentence.

A: 0
****
Q: Sentence: 'two men in pajamas are holding nintendo wii controllers'. How many words contain the letter 'o' in the sentence.

A:
4
****