ENH: add count method to groupby (GH5610)
ENH: infer selection_obj on groupby with an applied method (GH5610)