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 scarecrow is in the garden with no head'. How many words end with the letter 'a' in the sentence.
Example Output: 1

Example Input: Sentence: 'there is a young male surfer riding a wave'. How many words end with the letter 'e' in the sentence.
Example Output: 3

Example Input: Sentence: 'a man in a black helmet on a skateboard'. How many words end with the letter 'a' in the sentence.
Example Output:
3