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 jet airliner carrying a small shuttle above it'. How many words contain the letter 'r' in the sentence.
2

Sentence: 'some people at a table with food and drinks'. How many words contain the letter 'n' in the sentence.

2