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 white biplane on grassy area next to buildings'. How many words contain the letter 'g' in the sentence.

A: 2
****
Q: Sentence: 'a box of assorted  dunkin donuts one half eaten'. How many words contain the letter 'u' in the sentence.

A:
2
****