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

Q: Sentence: 'a man driving with his dog in the back seat'. How many words contain the letter 't' in the sentence.

A: 3
****
Q: Sentence: 'bread fruit vegetables and cheese with a bottle of wine'. How many words contain the letter 'e' in the sentence.

A: 5
****
Q: Sentence: 'a tennis player holding a racket to serve a ball'. How many words contain the letter 'r' in the sentence.

A:
3
****