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 pile of books on sitting next to a globe'. How many words end with the letter 'a' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'many sheep are out in the green grass'. How many words end with the letter 'n' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'a grizzly bear walking in the woods looking off in the distance'. How many words end with the letter 'r' in the sentence.


Output: 1