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.
Example: Sentence: 'the street light is green in the city'. How many words end with the letter 't' in the sentence.
Example solution: 2
Example explanation: The words 'street', and 'light' end with the letter 't'. So, the answer is 2.

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

Solution: 3