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.

Input: Consider Input: Sentence: 'a woman in a hat sitting on a wooden bench'. How many words end with the letter 'n' in the sentence.

Output: 4


Input: Consider Input: Sentence: 'a lone boat in a harbor with a building in back'. How many words end with the letter 'h' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a woman tennis player wearing a red headband holds her racket as she nears the baseline on a tennis court'. How many words end with the letter 'r' in the sentence.


Output: 2