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: 'zebra eating grass in a field caged in silver fence'. How many words end with the letter 'd' in the sentence.

Answer: 2


Question: Sentence: 'a large herd of elephant wading in a dirty river'. How many words end with the letter 'r' in the sentence.

Answer: 1


Question: Sentence: 'a bird sits on an old plate of food'. How many words end with the letter 'd' in the sentence.

Answer:
3