'Handy shortcut for getting results + number of loops'

def optimize(self, operations, app_label):

    optimizer = MigrationOptimizer()
    return (optimizer.optimize(operations, app_label), optimizer._iterations)
