Added num classes count