Set the unique-number counter to 0 before defining the first class.