Fixed getAmountOfServerGroups and implemented getClientServerGroups

Now getAmountOfServerGroups works even if the id of the servergroup is <=10