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

Sentence: 'a silver truck a street a person and buildings'. How many words contain the letter 'l' in the sentence.
2

Sentence: 'a man in a suit with his finger in his ear'. How many words contain the letter 'm' in the sentence.
1

Sentence: 'a firefighter is entering a fire engine behind a fire hydrant'. How many words contain the letter 'q' in the sentence.

0