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

Sentence: 'a pizza pie is on a wooden serving tray'. How many words contain the letter 's' in the sentence.
2

Sentence: 'an individual poses for a picture beside a bright window'. How many words contain the letter 'y' in the sentence.
0

Sentence: 'a baby playing with a white toothbrush in its mouth'. How many words contain the letter 'w' in the sentence.

2