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

Q: Sentence: 'a group of people on a beach beneath a cloudy sky'. How many words contain the letter 'g' in the sentence.

A: 1
****
Q: Sentence: 'a stop sign that has been spray painted'. How many words contain the letter 'o' in the sentence.

A: 1
****
Q: Sentence: 'a bathroom with sink toilet mirror and safety rails'. How many words contain the letter 'w' in the sentence.

A:
1
****