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

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

Sentence: 'a cat sitting on the arm of a chair'. How many words contain the letter 'g' in the sentence.
1

Sentence: 'a bowl full of rice beans and vegetables'. How many words contain the letter 'q' in the sentence.

0