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: 'something round being cooked in a shape of a pancake in a fry pan'. How many words end with the letter 'n' in the sentence.
Example Output: 3

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 group of boat laying on a beach'. How many words end with the letter 'g' in the sentence.
Example Output:
1