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: '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 all of coin machines in a tourist stop'. How many words end with the letter 'n' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'this man is riding a skateboard on a sidewalk'. How many words end with the letter 'n' in the sentence.


Output: 2