You can use the following technique to know it.
First, search a room by specifying the room name (i.e., the name property in the room properties). You can refer to the memberCount property of the found room to now the number of joined members in the room.