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: 'an elephant wandering in front of a forest'. How many words end with the letter 'g' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a man holds the strings of a multicolored kite'. How many words end with the letter 's' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'two trash cans and a spade on the pavements'. How many words end with the letter 'd' in the sentence.
[EX A]:
1