chapter counter for ordering