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

Q: Sentence: 'the black bears are together on the rocks eating outside'. How many words contain the letter 'y' in the sentence.

A: 0
****
Q: Sentence: 'a man flying through the air while riding a snowboard'. How many words contain the letter 'x' in the sentence.

A: 0
****
Q: Sentence: 'a young kid drinking his milk while sitting in a fridge'. How many words contain the letter 'r' in the sentence.

A:
2
****