Minor fix in mod count