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

Q: Sentence: 'an image of a person holding a blunt object is rendered in red and blue tones'. How many words contain the letter 'x' in the sentence.

A: 0
****
Q: Sentence: 'a pizza sitting on top of a black cutting board'. How many words contain the letter 'g' in the sentence.

A: 2
****
Q: Sentence: 'a full fridge door sits open in an empty kitchen'. How many words contain the letter 'd' in the sentence.

A:
2
****