rename opcount to op_nr