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 brown and white cow wearing a bell around its neck near a restaurant'. How many words end with the letter 'd' in the sentence.
Example Output: 2

Example Input: Sentence: 'an asian man is sitting in a cubicle with a near a computer near other people working in cubicles'. How many words end with the letter 'h' in the sentence.
Example Output: 1

Example Input: Sentence: 'a man on a bed reading a book wearing a hat'. How many words end with the letter 'g' in the sentence.
Example Output:
2