title: Get count of unique hosts in InfluxDB
body: <p>What query will return the number of distinct hosts in InfluxDB? I have a small army of computers all (hopefully) writing stats to InfluxDB via collectd, but I can't figure out how to count how of the computers are successfully writing.</p>
  
  <p>Edit: Using InfluxDB 0.9.4</p>