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

Sentence: 'a keyboard on a table with a toothbrush a book some sunglasses and coffee'. How many words contain the letter 'e' in the sentence.
5

Sentence: 'watchful raptor standing on one foot on a rock pile'. How many words contain the letter 'r' in the sentence.
2

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

3