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: 'a loading dock with two people and hanging coats'. How many words end with the letter 'o' in the sentence.
Example Output: 1

Example Input: Sentence: 'a baseball player swinging a bat towards a ball'. How many words end with the letter 'a' in the sentence.
Example Output:
3