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

Sentence: 'a room with a small light in the middle with a computer'. How many words contain the letter 's' in the sentence.
1

Sentence: 'a kitchen filled with appliances and furniture next to windows'. How many words contain the letter 'p' in the sentence.
1

Sentence: 'motorcycles are parked in a parking lot with several tents'. How many words contain the letter 'e' in the sentence.

5