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: 'jar of orange marmalade beside a paper plate with food'. How many words end with the letter 'r' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'a woman catching a red frisbee while standing on a dirt road'. How many words end with the letter 'n' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'a smiling person with two parrots on him'. How many words end with the letter 'g' in the sentence.
[EX A]:
1