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

Sentence: 'a man wearing a striped tie and a hat'. How many words contain the letter 'h' in the sentence.
1

Sentence: 'a large zebra standing out in a grassy field'. How many words contain the letter 'e' in the sentence.
3

Sentence: 'a scooter with a helmet hanging off its handlebars'. How many words contain the letter 'a' in the sentence.

4