Maximum Number of Groups With Increasing Length