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 white longheaired dog eating a birthday cake'. How many words end with the letter 'g' in the sentence.

Answer: 2


Question: Sentence: 'a laptop computer that is on a desk'. How many words end with the letter 'a' in the sentence.

Answer: 2


Question: Sentence: 'a large group of wild giraffe at a watering hole'. How many words end with the letter 't' in the sentence.

Answer:
1