Who can i get clients count with blueprint?

I want build a multiplayer game.
so , i want to kown how many player connected my server now.
if any one konw how do that with blueprint?

You mean inside server or on server list

it should be inside server.
or a listen server.

There variables NumPlayers and NumSpectators in GameMode class

So in blueprint they should be called “Num Players” and Num Spectors" and you can get them by traging GameMode refrence they should be in context menu. By adding those toghther you should have number of clients

Thank you very much !
I will as soon as possible to give it a try。