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

Q: Sentence: 'a person holds a video game remote as another man looks on'. How many words contain the letter 'g' in the sentence.

A: 1
****
Q: Sentence: 'several people and a dog riding on a small boat'. How many words contain the letter 'l' in the sentence.

A: 3
****
Q: Sentence: 'a ram standing on a hill beside a tree'. How many words contain the letter 'y' in the sentence.

A:
0
****