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 man holding  a bunch of bananas at an outside store'. How many words end with the letter 'h' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a basic bedroom with a desk and small bed'. How many words end with the letter 'm' in the sentence.
[EX A]:
1