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

Q: Sentence: 'black and white photo of old man riding a motorcycle'. How many words contain the letter 'n' in the sentence.

A: 3
****
Q: Sentence: 'a man on a motorcycle towing another man on a skateboard'. How many words contain the letter 'n' in the sentence.

A: 6
****
Q: Sentence: 'cows are eating grass in the woods at twilight'. How many words contain the letter 'r' in the sentence.

A:
2
****