Add GroupBy statement in pluck method