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

Sentence: 'a kitchen with hard wood floors and a stove top oven'. How many words contain the letter 'g' in the sentence.
0

Sentence: 'a young man dressed as a nun skateboards down the street'. How many words contain the letter 'e' in the sentence.
4

Sentence: 'two little birds sitting on top of a wedding cake'. How many words contain the letter 'g' in the sentence.

2