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 giraffe that is eating some leaves from a tree'. How many words contain the letter 'g' in the sentence.
2

Sentence: 'people riding skate boards in an obstacle course on a street'. How many words contain the letter 'i' in the sentence.
2