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

Q: Sentence: 'the zebra is showing his rear end to the camera'. How many words contain the letter 'r' in the sentence.

A: 3
****
Q: Sentence: 'the corner of a bathroom with washrags and cleaning supplies'. How many words contain the letter 'q' in the sentence.

A: 0
****
Q: Sentence: 'two men in uniform on a dock speaking to a man'. How many words contain the letter 'd' in the sentence.

A:
1
****