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

Q: Sentence: 'a green and white street sign on a pole and a light'. How many words contain the letter 's' in the sentence.

A: 2
****
Q: Sentence: 'a child on the sand and a boat and some water'. How many words contain the letter 's' in the sentence.

A: 2
****
Q: Sentence: 'a woman is playing tennis on a court'. How many words contain the letter 'r' in the sentence.

A:
1
****