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 woman throwing a frisbee in a meadow surrounded by trees'. How many words end with the letter 'n' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'people are riding horses through a parking lot'. How many words end with the letter 'g' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'a person is riding on top of an elephant'. How many words end with the letter 'n' in the sentence.
[EX A]:
3