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 wild bear walking over some logs in the forest'. How many words end with the letter 'n' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'there are three people riding a trolly up a snow mountain'. How many words end with the letter 'e' in the sentence.

Output: 4


Input: Consider Input: Sentence: 'a sign show that there is danger ahead'. How many words end with the letter 'w' in the sentence.


Output: 1