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: 'two photos of a man pre and post teddy bear present'. How many words end with the letter 'o' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'the view of a old bathroom with no shower curtain'. How many words end with the letter 'm' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a meal sits on a plate on a serving tray'. How many words end with the letter 'a' in the sentence.


Output: 3