Player counts are tracked when the game requests map tiles. The count is automatically updated every 30 seconds. A player is counted as active if they've been using the in-game map at any point in the last 10 minutes.