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: 'three giraffes two of which are laying on the ground'. How many words end with the letter 'n' in the sentence.
Example Output: 1

Example Input: Sentence: 'an image of a living room setting with tables'. How many words end with the letter 'e' in the sentence.
Example Output: 1

Example Input: Sentence: 'a red plane is going down the track'. How many words end with the letter 's' in the sentence.
Example Output:
1