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

Q: Sentence: 'a man sanding next to a cow in a pen'. How many words contain the letter 'h' in the sentence.

A: 0
****
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 lady and two girls sit in a park with red bricks on the ground'. How many words contain the letter 'w' in the sentence.

A:
2
****