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

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 boy is doing a trick with his skateboard'. How many words contain the letter 'y' in the sentence.
1

Sentence: 'a young man standing on top of a sandy beach'. How many words contain the letter 'w' in the sentence.

0