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: '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 man sitting in front of a laptop computer'. How many words end with the letter 'r' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'an oven mitt is on a table beside a pair of scissors'. How many words end with the letter 'n' in the sentence.


Output: 3