added a new method on server to get active group number