In this task, you need to count the number of words in a sentence that end with the given letter. Answer with numbers and not words.

Q: Sentence: 'a pizza sitting on top of a cardboard box'. How many words end with the letter 'a' in the sentence.

A: 3
****
Q: Sentence: 'a paper with a cookie on it as well as a marker'. How many words end with the letter 'r' in the sentence.

A: 2
****
Q: Sentence: 'surfer friends and family enjoying a day at the beach'. How many words end with the letter 'y' in the sentence.

A:
2
****