add getconnectioncount skeleton to rpc