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 man in an arena rides a bucking horse'. How many words end with the letter 'a' in the sentence.

Output: 3


Input: Consider Input: Sentence: 'a pizza sitting on top of a white plate'. How many words end with the letter 'a' in the sentence.

Output: 3


Input: Consider Input: Sentence: 'a dish towel hangs from the rack of an oven'. How many words end with the letter 's' in the sentence.


Output: 1