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 baby sitting on a baby reaching for a laptop'. How many words end with the letter 'a' in the sentence.
Example Output: 3

Example Input: Sentence: 'a guy on a surf board riding the waves in the ocean'. How many words end with the letter 'g' in the sentence.
Example Output: 1

Example Input: Sentence: 'an old refrigerator sitting in the middle of the floor'. How many words end with the letter 'r' in the sentence.
Example Output:
2