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

Sentence: 'a ram standing still in an empty pasture'. How many words contain the letter 'x' in the sentence.
0

Sentence: 'a beautiful woman holding a pink frosted cake'. How many words contain the letter 'q' in the sentence.
0

Sentence: 'a dog jumping up and catching a frisbee in its mouth'. How many words contain the letter 'r' in the sentence.

1