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

Sentence: 'a young man standing in front of a laptop computer'. How many words contain the letter 'y' in the sentence.
1

Sentence: 'a grey cat sitting in a metal kitchen sink next to cans of soda'. How many words contain the letter 't' in the sentence.
6

Sentence: 'three children who are holding baseball equipment'. How many words contain the letter 'g' in the sentence.
1