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: 'three horses run in front of a grassy area at the base of several mountains on a hazy day that makes the mountains appear purple'. How many words end with the letter 'n' in the sentence.