Group length check