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: 'red train on tracks near tall trees at station'. How many words end with the letter 's' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'a long haired cat sitting on a colorful bed'. How many words end with the letter 'a' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'a bathroom with three small pictures on the wall above a toilet next to a sink and a small window'. How many words end with the letter 'l' in the sentence.


Output: 3