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

Sentence: 'a large pizza smothered in cheese and sauce'. How many words contain the letter 'a' in the sentence.
5

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: 'a black and white cat pokes its head from under a green garage door'. How many words contain the letter 'm' in the sentence.
1