change groupUsers API to return total count