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

Q: Sentence: 'a kitchen with a dining room table and a sitting area'. How many words contain the letter 'r' in the sentence.

A: 2
****
Q: Sentence: 'two angles of a frosted donut with a bite taken out of the side'. How many words contain the letter 'z' in the sentence.

A: 0
****
Q: Sentence: 'a man who is standing next to a rock building'. How many words contain the letter 'i' in the sentence.

A:
3
****