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: 'two people are leaning against a motor coach'. How many words end with the letter 'r' in the sentence.
Example Output: 1

Example Input: Sentence: 'a brown bear swimming in water next to tree trunk'. How many words end with the letter 'g' in the sentence.
Example Output: 1

Example Input: Sentence: 'a table with  various vegetables a carton of brown eggs a potted plant and an empty vase'. How many words end with the letter 'd' in the sentence.
Example Output:
2