how can i print total connections on the client. Network.connections.Length gives "1" everytime.
That is rather strange.
Alternatively you could create a global variable that increments every time OnConnectedToServer(), and decrements every time OnDisconnectedFromServer() is called and display the value of that variable.
That might also help you debug your original issue.