I'm using a solid workaround in the meantime. In the on_server function, I just take the id of the incoming client, and place it in one of 12 variables. Then I check when more clients join to make sure that it only writes into one variable, and it hasn't already be recorded. Then I take this number as the real amount of clients. It works really well.