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

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

Sentence: 'a young man standing in front of a laptop computer'. How many words contain the letter 'y' in the sentence.
1

Sentence: 'a vase and two candles sitting on top of a table'. How many words contain the letter 'e' in the sentence.

3