fix my group type counter
working ajax for groups/group types