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

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

Sentence: 'a line of portable toilets stands outdoors under trees'. How many words contain the letter 'l' in the sentence.
3

Sentence: 'a airplane that has a propeller on it'. How many words contain the letter 'z' in the sentence.

0