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 couple of cut outs of plants berries and apples'. How many words contain the letter 'd' in the sentence.
1

Sentence: 'a bathroom with a white bath tub sink and large window'. How many words contain the letter 'k' in the sentence.

1