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

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

A: 0
****
Q: Sentence: 'ther e is a commuter train that is coming on the tracks'. How many words contain the letter 'r' in the sentence.

A: 4
****
Q: Sentence: 'a skier posing for a photo in front of a slope'. How many words contain the letter 'a' in the sentence.

A:
3
****