Definition: In this task, you need to count the number of times the given letter appears in the given sentence.
Input: Sentence: 'the train has just passed the crosswalk, and gates are closed to prevent pedestrian and vehicular traffic on the tracks at this time'. Find frequency of the letter 'n'

6