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 smart phone sitting on a cloth next to a battery hooked up to another device'. How many words end with the letter 'a' in the sentence.

Answer: 3


Question: Sentence: 'a crowd of people occupy a busy city street'. How many words end with the letter 'y' in the sentence.

Answer: 3


Question: Sentence: 'police officers on horseback at a city intersection'. How many words end with the letter 'k' in the sentence.

Answer:
1