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 burger and some fries on a white plate'. How many words end with the letter 's' in the sentence.
[A]: 1


[Q]: Sentence: 'a man blowing out some candles on a cake'. How many words end with the letter 'a' in the sentence.
[A]: 2


[Q]: Sentence: 'a large gray horse is eating out of a bag in the snow while pulling a sleigh'. How many words end with the letter 'g' in the sentence.
[A]:
3