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

Q: Sentence: 'a motorcycle parked in front of a small cafe'. How many words contain the letter 'n' in the sentence.

A: 2
****
Q: Sentence: 'a bottle of beer and a red plate of food'. How many words contain the letter 'u' in the sentence.

A: 0
****
Q: Sentence: 'a man standing and another man on a motorbike surrounded by trucks'. How many words contain the letter 'r' in the sentence.

A:
4
****