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

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

Sentence: 'trash cans and a fire hydrant are on the curb of a sidewalk'. How many words contain the letter 'u' in the sentence.
1

Sentence: 'a doubles tennis match played in an indoor arena'. How many words contain the letter 'a' in the sentence.
5