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 pile of books on sitting next to a globe'. How many words end with the letter 'a' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'jar of orange marmalade beside a paper plate with food'. How many words end with the letter 'r' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'a man laying on the couch with a black dog'. How many words end with the letter 'g' in the sentence.
[EX A]:
2