Replying to the person who asked this previously: construct.net/en/forum/construct-3/how-do-i-8/count-players-photon-room-172395
A bit late to the party but I managed to get it to work!
On the layout that'll list rooms in the lobby, connect to name server first.
Then do:
Then do On lobbies statistics update: Room1text.text set text to ""Players: "&Photon.roomplayercount("Room1")&"/"&photon.RoomMaxPlayers("Room1")
It'll read as 0/0 if noone is in so I add a bit that puts the max player number there. (When someone joins, it'll update the max player number here in the lobby too!):
Room1text: if Text is "Players: 0/0" - set text to "Players: 0/10"
Then click to join the room, on the new layout, join the room as usual and if someone is in this lobby, it'll update when they join:
Layout with game in:
Make sure when you click to join the lobby you do a Photon: Reset as well!