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

Q: Sentence: 'a large dog curls up on the pillow on a bunk bed'. How many words contain the letter 't' in the sentence.

A: 1
****
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: 'two brown bears romp and play with each other'. How many words contain the letter 'g' in the sentence.

A:
0
****