This is the total number of payments that will be made during the duration of your loan.
If you get a 30 year mortgage, you will make 360 monthly payments (30 years X 12 months = 360 payments).
If you borrow the money over the course of 15 years, then n will be 180.