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 plate has a spoon cup of coffee and two small doughnuts'. How many words end with the letter 'a' 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: 'the small black dog jumps to catch a frisbee'. How many words end with the letter 'k' in the sentence.
[EX A]:
1