Counting unique index values in Pandas groupby,ex.groupby(level='A').get_group(1)