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 group of banana plants on top of a bicycle'. How many words end with the letter 'e' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'three people walking in the snow at night time'. How many words end with the letter 't' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'a large white swan staring straight ahead on a beach'. How many words end with the letter 'g' in the sentence.
[EX A]:
1