ENH add cumcount groupby method