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 large blue truck parked next to a building'. How many words end with the letter 'g' in the sentence.

A: 1
****
Q: Sentence: 'a man by a open refrigerator in a room'. How many words end with the letter 'a' in the sentence.

A: 3
****
Q: Sentence: 'a woman that is standing on a bed while a man lies down using a laptop'. How many words end with the letter 'a' in the sentence.

A:
4
****