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

Q: Sentence: 'a dog lying down with a blanket on top of it'. How many words contain the letter 'o' in the sentence.

A: 5
****
Q: Sentence: 'a living roomcomplete with couches chairs mantle and huge clock on the wall'. How many words contain the letter 't' in the sentence.

A: 4
****
Q: Sentence: 'a man in a white shirt and black tie sits near an elevator'. How many words contain the letter 'r' in the sentence.

A:
3
****