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 in a hat sitting on a wooden bench'. How many words end with the letter 'n' in the sentence.
[EX A]: 4

[EX Q]: Sentence: 'a man riding a bike in a city at night'. How many words end with the letter 'g' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'two people are sitting next to each other at the table'. How many words end with the letter 't' in the sentence.
[EX A]:
2