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

Q: Sentence: 'a road cut off by police barricade tape'. How many words contain the letter 'x' in the sentence.

A: 0
****
Q: Sentence: 'a teddy bear laying on a pillow on a bed'. How many words contain the letter 'w' in the sentence.

A: 1
****
Q: Sentence: 'a wooden desk has two monitors and a photo with a dog underneath'. How many words contain the letter 'i' in the sentence.

A:
2
****