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

Answer: 2


Question: Sentence: 'a man by a open refrigerator in a room'. How many words end with the letter 'a' in the sentence.

Answer: 3


Question: Sentence: 'a woman swings her hand out to hit a ball as people are staring in the background'. How many words end with the letter 'n' in the sentence.

Answer:
2