How can I get number of players online?

Top left of picture #1, press “+Variable” and then in the details window at the bottom there, switch it to an integer or string.