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 shiny elephant is walking through dirt piles'. How many words end with the letter 'h' in the sentence.
Example Output: 1

Example Input: Sentence: 'a man carries a yellow surfboard down a beach near the waters edge'. How many words end with the letter 'n' in the sentence.
Example Output: 2

Example Input: Sentence: 'a man sitting on a motorcycle with a large body of water and mountains behind him'. How many words end with the letter 'a' in the sentence.
Example Output:
3