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: 'cakes sitting on cardboard on display on a shelf'. How many words end with the letter 'n' in the sentence.
Example Output: 3

Example Input: Sentence: 'a pizza sitting on top of a white plate'. How many words end with the letter 'a' in the sentence.
Example Output: 3

Example Input: Sentence: 'horses walk in the street next to their owner'. How many words end with the letter 'r' in the sentence.
Example Output:
2