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: 'the group of people is riding on the back of the truck'. How many words end with the letter 'e' in the sentence.
[EX A]: 4

[EX Q]: Sentence: 'zebra eating grass in a field caged in silver fence'. How many words end with the letter 'd' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'a baby elephant is seen standing in between another elephants legs'. How many words end with the letter 'y' in the sentence.
[EX A]:
1