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 large herd of elephant wading in a dirty river'. How many words end with the letter 'r' in the sentence.
Example Output: 1

Example Input: Sentence: 'a woman in a hat sitting on a wooden bench'. How many words end with the letter 'n' in the sentence.
Example Output: 4

Example Input: Sentence: 'a herd of zebra standing next to each other in a lush green field'. How many words end with the letter 'r' in the sentence.
Example Output:
1

