You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
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.

Sentence: 'the street light is green in the city'. How many words end with the letter 't' in the sentence.
Solution: 2
Why? The words 'street', and 'light' end with the letter 't'. So, the answer is 2.

New input: Sentence: 'a man with a tie and hat on standing in the grass'. How many words end with the letter 'e' in the sentence.
Solution:
2