title: Calculate ipv6 number in use in us?
body: <p>To calculate total ipv4 number in use in us.</p>
  
  <pre><code>cd /tmp
  wget http://ftp.apnic.net/stats/arin/delegated-arin-extended-20170101
  (cat delegated-arin-extended-20170101 | grep  -i 'US|ipv4' |cut -f 5 -d'|' | tr '\n' '+';echo 0) | bc
  1608099840
  </code></pre>
  
  <p>It is a huge number <code>1608099840</code>.<br>
  How to calculate ipv6 number in use in us?   </p>
  
  <pre><code> (cat delegated-arin-extended-20170101 | grep  -i 'US|ipv6' |cut -f 5 -d'|' | tr '\n' '+';echo 0) | bc
  179768
  </code></pre>
  
  <p>For ipv6 address in use in us as little as <code>179768</code> or it is a wrong method to calculate ?  </p>