Reads array size correctly for adts,but not for candidate classes.