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 monkey hanging from a tree holding onto a pile of bananas'. How many words end with the letter 'g' in the sentence.

A: 2
****
Q: Sentence: 'a pot pit on a plate with a large side of butter and a beer sitting on the table top'. How many words end with the letter 'g' in the sentence.

A: 1
****
Q: Sentence: 'man standing on a street with a brown bag at his side'. How many words end with the letter 'n' in the sentence.

A:
3
****