[net] Add count_orgs rpc