I've been struggling to find an efficient way to get the number of clients conencted to a room in socket.io. I've been advised to look into this thread: How to get room's clients list in socket.io 1.0 however none of the solutions currently work in this thread besides the one that checks for every single conencted socket and their rooms to be able to display a single room's cliens.
Therefore, I need to ask once more: what is the (urrently) most efficient way to get the (number of) clients in a room in socket.io?