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 by a open refrigerator in a room'. How many words end with the letter 'a' in the sentence.
Example Output: 3

Example Input: Sentence: 'an elephant by the side of the road'. How many words end with the letter 'f' in the sentence.
Example Output: 1

Example Input: Sentence: 'people on the beach surround a small boat'. How many words end with the letter 'e' in the sentence.
Example Output:
2