Learning to Group and Grasp Multiple Objects