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 Input: Sentence: 'a number of giraffes in a field near many trees'. How many words end with the letter 'r' in the sentence.
Example Output: 2

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

Example Input: Sentence: 'a group of men playing baseball on a field'. How many words end with the letter 'l' in the sentence.
Example Output:
1