I have two table user, group and an intermediate pivot table user_group. The user_group table had four property user_id, group_id, count and recor