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 train riding through tracks in a large train station'. How many words end with the letter 'n' in the sentence.
[EX A]: 4

[EX Q]: Sentence: 'metropolitan commuter train painted with graffiti on side'. How many words end with the letter 'n' in the sentence.
[EX A]:
3