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

Sentence: 'a man buttering toast in his kitchen on the counter'. How many words contain the letter 'c' in the sentence.
2

Sentence: 'a child is lighting candles on a cake'. How many words contain the letter 't' in the sentence.
1

Sentence: 'a black and white photo of people at a train station'. How many words contain the letter 'n' in the sentence.
3