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

Q: Sentence: 'a man sleeping on a park bench then a woman looks at another man with a newspaper over his face on another park bench'. How many words contain the letter 't' in the sentence.

A: 5
****
Q: Sentence: 'man in blue shirt hitting a tennis ball back'. How many words contain the letter 'q' in the sentence.

A: 0
****
Q: Sentence: 'person in kitchen basting item being cooked in oven'. How many words contain the letter 'r' in the sentence.

A:
1
****