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

Q: Sentence: 'a fire hydrant on the side of the road near a building'. How many words contain the letter 'a' in the sentence.

A: 5
****
Q: Sentence: 'a blue and white fire hydrant and two cars parked across the street'. How many words contain the letter 'y' in the sentence.

A: 1
****
Q: Sentence: 'a man with a red and black striped tie and a blue coat'. How many words contain the letter 'o' in the sentence.

A:
1
****