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

[Q]: Sentence: 'some kids are all taking a photograph together'. How many words contain the letter 'e' in the sentence.
[A]: 3


[Q]: Sentence: 'a woman smiling for the camera while on a boat'. How many words contain the letter 'e' in the sentence.
[A]: 3


[Q]: Sentence: 'an elephant in a water hole under a waterfall'. How many words contain the letter 'r' in the sentence.
[A]:
3