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

Sentence: 'a woman sitting on top of a cement bench near a lake'. How many words contain the letter 'w' in the sentence.
1

Sentence: 'people fly kites and relax at a crowded sunlit beach'. How many words contain the letter 'l' in the sentence.
4

Sentence: 'a couple of trains are traveling side by side'. How many words contain the letter 'p' in the sentence.
1