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

Sentence: 'an untidy room with clothes bottles next to an oven'. How many words contain the letter 'a' in the sentence.
2

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

Sentence: 'a school bus parked with its stop sign closed'. How many words contain the letter 'a' in the sentence.

2