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

Q: Sentence: 'the children are playing on the beach  next to the water'. How many words contain the letter 'h' in the sentence.

A: 5
****
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: 'a group of motorcycles parked on the pavement'. How many words contain the letter 'g' in the sentence.

A:
1
****