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: 'old styled dressed man at midwives festival with beverage'. How many words end with the letter 'e' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a glass table with a plate of bar cookies a potted plant and a vase filled with chocolate eggs'. How many words end with the letter 't' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'bear like caricature on wire with tall building with clocks and spire in background'. How many words end with the letter 'e' in the sentence.


Output: 4