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

Sentence: 'bread fruit vegetables and cheese with a bottle of wine'. How many words contain the letter 'e' in the sentence.
5

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

Sentence: 'a man and woman holding electronic devices in their hands'. How many words contain the letter 'e' in the sentence.

3