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 man in an arena rides a bucking horse'. How many words end with the letter 'a' in the sentence.
Example Output: 3

Example Input: Sentence: 'a large number of black cattle in a green grassy pasture'. How many words end with the letter 'e' in the sentence.
Example Output: 3

Example Input: Sentence: 'man is sitting at his computer eating a doughnut and drinking a beverage'. How many words end with the letter 'g' in the sentence.
Example Output:
3