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

Q: Sentence: 'a man is holding a bunch of green bananas in his yard'. How many words contain the letter 'i' in the sentence.

A: 4
****
Q: Sentence: 'he wants everyone to know that he has serious intentions for the tennis game'. How many words contain the letter 'h' in the sentence.

A: 5
****
Q: Sentence: 'a train coming up to an intersection of rails'. How many words contain the letter 'm' in the sentence.

A:
1
****