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: 'an asian man is sitting in a cubicle with a near a computer near other people working in cubicles'. How many words end with the letter 'h' in the sentence.
Example Output: 1

Example Input: Sentence: 'a yellow train traveling towards a train station'. How many words end with the letter 'a' in the sentence.
Example Output: 2

Example Input: Sentence: 'a man using a one laptop per child computer while another man uses a standard desktop computer'. How many words end with the letter 'r' in the sentence.
Example Output:
4