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

Sentence: 'a black and white photo of a large clock on a building'. How many words contain the letter 't' in the sentence.
2

Sentence: 'a grey cat sitting in a metal kitchen sink next to cans of soda'. How many words contain the letter 't' in the sentence.
6

Sentence: 'a police officer check out an overturned truck'. How many words contain the letter 's' in the sentence.
0