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 man in a jacket on a motorcycle'. How many words end with the letter 't' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a bird leaning into a bowl on a kitchen table'. How many words end with the letter 'n' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'a person is pushing a stroller across the street with a dog'. How many words end with the letter 'r' in the sentence.


Output: 1