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

Q: Sentence: 'a giraffe that is eating some leaves from a tree'. How many words contain the letter 'g' in the sentence.

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

A: 1
****
Q: Sentence: 'a remote control sitting in a persons hand'. How many words contain the letter 'z' in the sentence.

A:
0
****