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

Sentence: 'a man in a tie that is looking to the side'. How many words contain the letter 'm' in the sentence.
1

Sentence: 'a person resting on a bench outside a furniture store'. How many words contain the letter 'e' in the sentence.
6

Sentence: 'a plane sitting in an airport hanger building'. How many words contain the letter 't' in the sentence.

2