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 man on a tennis court  holding a racket'. How many words end with the letter 'n' in the sentence.
Example Output: 2

Example Input: Sentence: 'a black bear eating a carrot on top of rocks'. How many words end with the letter 'r' in the sentence.
Example Output: 1

Example Input: Sentence: 'a street corner with a car waiting at a stop sign'. How many words end with the letter 'r' in the sentence.
Example Output:
2