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

Sentence: 'a toilet and long handled plunger in a cleaned bathroom'. How many words contain the letter 'i' in the sentence.
2

Sentence: 'there is a small bowl of soup and vegetables'. How many words contain the letter 'g' in the sentence.
1

Sentence: 'a stir fry consisting of rice broccoli and other vegetables'. How many words contain the letter 'e' in the sentence.

3