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 bride and a kiltwearing groom cutting their wedding cake together'. How many words end with the letter 'r' in the sentence.
Example Output: 2

Example Input: Sentence: 'a giraffe some dirt some grass and trees'. How many words end with the letter 's' in the sentence.
Example Output: 2

Example Input: Sentence: 'a gray brown and black dog holds his nose near a piece of food on the floor'. How many words end with the letter 'r' in the sentence.
Example Output:
2