Corrected InstCat() inst counting loop initializer