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 paper with a cookie on it as well as a marker'. How many words end with the letter 'r' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'a bearded man sits at his kitchen table by the window in the background in the foreground is a small cluttered kitchen that has a washing machine installed beneath the sink'. How many words end with the letter 'k' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a fire hydrant that is on a sidewalk'. How many words end with the letter 't' in the sentence.


Output: 2