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: 'the yellow earth mover sits in the field in front of the pole'. How many words end with the letter 'n' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'a group of young adults is playing frisbee in a field'. How many words end with the letter 'p' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a wooden chair with some sort of solar panel strapped to it charging a device'. How many words end with the letter 't' in the sentence.


Output: 2