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

Q: Sentence: 'a panthers football player holding a baseball bat and basketball'. How many words contain the letter 'y' in the sentence.

A: 1
****
Q: Sentence: 'group of kids play frisbee golf in the middle of the woods'. How many words contain the letter 't' in the sentence.

A: 2
****
Q: Sentence: 'a snowcovered bench with a tree and house in the background'. How many words contain the letter 'g' in the sentence.

A:
1
****