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 swings his racket and hits a tennis ball'. How many words end with the letter 'n' in the sentence.
Example Output: 1

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: 'two pictures of a lady taking pictures of two cats in mirror'. How many words end with the letter 'o' in the sentence.
Example Output:
2