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 catting sitting on top of a laptop computer'. How many words end with the letter 'p' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'old styled dressed man at midwives festival with beverage'. How many words end with the letter 'e' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'small wooden toy sitting on base with flower pot behind'. How many words end with the letter 'n' in the sentence.


Output: 2