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

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

Sentence: 'a group of people dressed professionally outside'. How many words contain the letter 'j' in the sentence.
0

Sentence: 'a woman is laying on top of a suitcase'. How many words contain the letter 'g' in the sentence.

1