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 yellow weathered sign points down the street of a location as motorcycles are parked across the street'. How many words end with the letter 'a' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'a person on a boat with trays of seafood while he sits under a umbrella'. How many words end with the letter 'a' in the sentence.

Output: 4


Input: Consider Input: Sentence: 'a man riding on skis down a mountain side'. How many words end with the letter 'g' in the sentence.


Output: 1