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

Q: Sentence: 'a picture of a scene in a baseball game'. How many words contain the letter 'g' in the sentence.

A: 1
****
Q: Sentence: 'a man that is sitting on a horse in the grass'. How many words contain the letter 'y' in the sentence.

A: 0
****
Q: Sentence: 'a man seated upon a stationary motocross motorcycle'. How many words contain the letter 'p' in the sentence.

A:
1
****