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

Sentence: 'a bearded man sits on a couch with an electronic device in his hand'. How many words contain the letter 'e' in the sentence.
3

Sentence: 'a close up of two black cows grazing the grass'. How many words contain the letter 'u' in the sentence.
1

Sentence: 'a lamb standing behind a wire fence on a grassy field'. How many words contain the letter 'g' in the sentence.

2