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: 'a cat sitting on a wooden chair look at the camera'. How many words contain the letter 'd' in the sentence.
1

Sentence: 'a man standing and looking at a person lying on the floor'. How many words contain the letter 'w' in the sentence.

0