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: 'pizza and salad are the meals on the trays'. How many words end with the letter 's' in the sentence.

Output: 2


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 variety of aerial vehicles in a hangar'. How many words end with the letter 's' in the sentence.


Output: 1