I am trying to make a game that will be hosting some places and i want to get how many players are playing the game, i have already done that with using datastore but how can i get the number of the servers currently running
You can use MessagingService to report how many players are in each server.
You can also do the same for x servers. Everytime a server is started (once the serverscripts in SSS start) just publish the fact that a new server launched. Once a server is about to stop (game:BindToClose) you can report that a server is going down.
i now looked at it in the developer page but it kind of confuses me but i will try to make it work( i have never used messaging service before)