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

Q: Sentence: 'a man driving with his dog in the back seat'. How many words contain the letter 't' in the sentence.

A: 3
****
Q: Sentence: 'a smiling man holds out a card with color swatches'. How many words contain the letter 'i' in the sentence.

A: 2
****
Q: Sentence: 'a bench filled with people sitting on it in front of a store'. How many words contain the letter 'n' in the sentence.

A:
5
****