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: 'the view of a old bathroom with no shower curtain'. How many words end with the letter 'm' in the sentence.
Example Output: 1

Example Input: Sentence: 'a man in a snow suit skiing down a powdery mountain'. How many words end with the letter 'n' in the sentence.
Example Output: 4

Example Input: Sentence: 'girl lying on a bed surfing the internet on a laptop computer'. How many words end with the letter 'd' in the sentence.
Example Output:
1