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: 'five sheep on a hill eating grass overlooking the ocean'. How many words end with the letter 'g' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'a glazed donut sits on a plate inbetween a fork and a knife'. How many words end with the letter 'k' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a boy looking through a window at a bear'. How many words end with the letter 'y' in the sentence.
[EX A]:
1