In this task, you need to count the number of times the given letter appears in the given sentence.
Sentence: 'airplane workers doing an inspection before the plane leaves'. Find frequency of the letter 'n'