added getconnectioncount command