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 kitchen with hard wood floors and a stove top oven'. How many words contain the letter 'g' in the sentence.
0

Sentence: 'young man about to tackling a wave on his surfboard'. How many words contain the letter 'y' in the sentence.

1