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

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 girl sitting on a bench holding a flower'. How many words contain the letter 'p' in the sentence.

A: 0
****
Q: Sentence: 'a group of people on motor bikes on a road'. How many words contain the letter 'd' in the sentence.

A:
1
****