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 microwave oven mounted above a stove'. How many words end with the letter 'd' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a man and woman happily hug near a river'. How many words end with the letter 'y' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'there are two sheep standing together out on the grass'. How many words end with the letter 'p' in the sentence.


Output: 1