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 teddy bear is sitting on a wooden chair'. How many words end with the letter 'a' in the sentence.

Answer: 2


Question: Sentence: 'a long haired cat sitting on a colorful bed'. How many words end with the letter 'a' in the sentence.

Answer: 2


Question: Sentence: 'a batter is taking a swing at the ball'. How many words end with the letter 'a' in the sentence.

Answer:
2