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 number of giraffes in a field near many trees'. How many words end with the letter 'r' in the sentence.
Example Output: 2

Example Input: Sentence: 'a baseball player jumps towards a base before the other player catches the ball'. How many words end with the letter 'e' in the sentence.
Example Output: 4

Example Input: Sentence: 'a bus waiting its turn to drive in the fog'. How many words end with the letter 'a' in the sentence.
Example Output:
1