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 backyard with patio furniture and sun shade'. How many words end with the letter 'e' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'the laptop is sitting next to the computer monitor'. How many words end with the letter 'p' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a person standing in a field with some pretty horses'. How many words end with the letter 'e' in the sentence.


Output: 1