glyph ids in Iterator may be non-consecutive, so the number in classValue might be larger than length of the Iterator