I'm not asking for the whole script, I'd just like to know how to do this. I know there's GetGroupInfoAsync but I don't think you can use that to get the member count of a group. So I don't even know where to start at this...
You can use the web API for this. If you need this in-game, you'd need to use HttpService
and a proxy to access this.