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 dress beneath a ladder holding an umbrella'. How many words end with the letter 'n' in the sentence.

Output: 3


Input: Consider Input: Sentence: 'a flock of birds some on the ground others are perched on a park bench'. How many words end with the letter 'k' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'some onion and mushroom pizza baking in oven'. How many words end with the letter 'a' in the sentence.


Output: 1