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 wild bear walking over some logs in the forest'. How many words end with the letter 'n' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a man on a snowboard does an air trick'. How many words end with the letter 'd' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'looking out at heavy rain on the street from a restaurant canopy'. How many words end with the letter 'g' in the sentence.
[EX A]:
1