Fix clientsCount bug