Show online player count

How to get it to show all players online in the world and not just who is in the lobby ?

Show for example if i join it says 0 players online but in one of my worlds there is like 10 players?

Thank you