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 bird sitting on the branch of a tree near leaves'. How many words end with the letter 'e' in the sentence.
Example Output: 2

Example Input: Sentence: 'a cabinet in a kitchen that has been left open'. How many words end with the letter 'n' in the sentence.
Example Output: 4

Example Input: Sentence: 'the mature man seems to be reading something'. How many words end with the letter 'g' in the sentence.
Example Output:
2