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 public bus driving down a busy street'. How many words end with the letter 'g' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'several type of vegetables and greens sitting on a table'. How many words end with the letter 'g' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a white motorcycle is next to a store front that says macau welcomes you'. How many words end with the letter 's' in the sentence.


Output: 3