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 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: 'a catting sitting on top of a laptop computer'. How many words end with the letter 'p' in the sentence.
Example Output: 2

Example Input: Sentence: 'a pepperoni pizza has a slice taken out'. How many words end with the letter 'n' in the sentence.
Example Output:
1