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.

[EX Q]: Sentence: 'a black bear eating a carrot on top of rocks'. How many words end with the letter 'r' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a small shelf in front of a mirror with an apple and cosmetics on it'. How many words end with the letter 'n' in the sentence.
[EX A]: 3

[EX Q]: Sentence: 'a beautiful young woman holding a tennis racquet on a court'. How many words end with the letter 'a' in the sentence.
[EX A]:
3