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: 'the young children are doing crafts at the dining room table'. How many words end with the letter 'g' in the sentence.
Example Output: 3

Example Input: Sentence: 'a dishwasher stove and over combination with an extension plug resting on the stove surface'. How many words end with the letter 'n' in the sentence.
Example Output: 4

Example Input: Sentence: 'an apple computer is on a white table'. How many words end with the letter 'r' in the sentence.
Example Output:
1