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: 'young girls with backpacks are standing near stairs that look to go to the subway'. How many words contain the letter 'r' in the sentence.
4

Sentence: 'close up of an orange face on a television set'. How many words contain the letter 'x' in the sentence.

0