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 man in blue shirt laying on sidewalk by a fire hydrant'. How many words end with the letter 'g' in the sentence.
Example Output: 1

Example Input: Sentence: 'two man at the park and dog laying on the ground'. How many words end with the letter 'n' in the sentence.
Example Output: 2

Example Input: Sentence: 'a short lady wearing blue pants and red shirt holding a green frisbee'. How many words end with the letter 'y' in the sentence.
Example Output:
1