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

Sentence: 'an untidy room with clothes bottles next to an oven'. How many words contain the letter 'a' in the sentence.
2

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

Sentence: 'a man is stepping into the ocean carrying a surfboard'. How many words contain the letter 'c' in the sentence.

2