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

Sentence: 'a view from inside a train cart going down a track'. How many words contain the letter 'e' in the sentence.
2

Sentence: 'a little boy learning to throw a frisbee'. How many words contain the letter 'h' in the sentence.
1

Sentence: 'a tub and a window in a room'. How many words contain the letter 'o' in the sentence.

2