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 flock of birds some on the ground others are perched on a park bench'. How many words end with the letter 'k' in the sentence.
Example Output: 2

Example Input: Sentence: 'a white and gray cat is in a bathroom sink'. How many words end with the letter 'm' in the sentence.
Example Output: 1

Example Input: Sentence: 'a goalie stopping a soccer ball from getting to the net'. How many words end with the letter 'a' in the sentence.
Example Output:
2