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 bakery with a display tray of cupcakes decorated and labeled'. How many words end with the letter 'y' in the sentence.
[A]: 3


[Q]: Sentence: 'three adults riding on top of an elephant swimming'. How many words end with the letter 'n' in the sentence.
[A]: 2


[Q]: Sentence: 'a panda walking slowly in his dirt enclosure'. How many words end with the letter 'a' in the sentence.
[A]:
2