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

Sentence: 'an old motorcycle with the seat missing parked in a garage with other parts and motorcycles'. How many words contain the letter 'r' in the sentence.
6

Sentence: 'two men playing a video game inside of a room'. How many words contain the letter 'f' in the sentence.
1

Sentence: 'a large airplane flying up into the sky'. How many words contain the letter 'a' in the sentence.
3