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

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

Sentence: 'a woman swinging a tennis racquet in the air'. How many words contain the letter 'z' in the sentence.
0

Sentence: 'there is a woman riding a scooter down a dirt road'. How many words contain the letter 'n' in the sentence.

3