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 computer has three monitors set up and attached to it'. How many words end with the letter 'a' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a number of giraffes in a field near many trees'. How many words end with the letter 'r' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'a bird leaning into a bowl on a kitchen table'. How many words end with the letter 'n' in the sentence.


Output: 2