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 large airplane and a bench in a field'. How many words end with the letter 'd' in the sentence.

Answer: 2


Question: Sentence: 'a bed in a room and some food'. How many words end with the letter 'd' in the sentence.

Answer: 3


Question: Sentence: 'a group of birds sitting on top of a fence'. How many words end with the letter 'a' in the sentence.

Answer:
2