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

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

Sentence: 'a person is riding a bicycle on the street'. How many words contain the letter 'b' in the sentence.
1

Sentence: 'many bushels of small bananas are hung from a ceiling'. How many words contain the letter 't' in the sentence.

0