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 old picture of workers building the railroad'. How many words end with the letter 'd' in the sentence.
Example Output: 2

Example Input: Sentence: 'a group of people in snow gear and skis on a slope'. How many words end with the letter 'e' in the sentence.
Example Output: 2

Example Input: Sentence: 'a man sitting on a post on a sidewalk'. How many words end with the letter 'n' in the sentence.
Example Output:
3