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

Sentence: 'a man with a surfboard walking across a bridge towards the ocean'. How many words contain the letter 'w' in the sentence.
3

Sentence: 'a group of men sitting by tables working on laptops'. How many words contain the letter 'l' in the sentence.
2

Sentence: 'a man wearing a beanie and a neck tie'. How many words contain the letter 'o' in the sentence.

0