Get the number of players from PIE?

this is not the number of players in multiplayer…
this number is just the setup how many PIE/Standalone instances to be spawned to test Multiplayer in a fake and latency free environment.

You need to define the Max Player count per session by yourself with an integer variable and update session settings for max players and current players by yourself.