add Model#group_by