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 reflection of a large building in a window'. How many words end with the letter 'f' in the sentence.
Example Output: 1

Example Input: Sentence: 'a teddy bear dressed in a star trek shirt sitting in front of a computer screen'. How many words end with the letter 'r' in the sentence.
Example Output:
3