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 black gray and white cat a toilet sink and mirror'. How many words end with the letter 'y' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a hand is holding a pack of japanese donuts'. How many words end with the letter 's' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'a bedroom with a television sofa and poster on wall'. How many words end with the letter 'l' in the sentence.


Output: 1