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 person that is wearing glasses looking into a mirror'. How many words contain the letter 'f' in the sentence.
0

Sentence: 'a toilet sits atop a tiled black and white floor'. How many words contain the letter 'b' in the sentence.

1