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.

[Q]: Sentence: 'a train on the tracks under a bridge'. How many words end with the letter 'e' in the sentence.
[A]: 2


[Q]: Sentence: 'a burger and some fries on a white plate'. How many words end with the letter 's' in the sentence.
[A]: 1


[Q]: Sentence: 'a parking meter on the footpathbesides which a lamp shade is kept'. How many words end with the letter 'g' in the sentence.
[A]:
1