code: function getCountFromGlobalAgent(data: Object) {
    let numUnassigned = 0;
    const domains = Object.keys(data);
    for (let x = 0; x < domains.length; x++) {
      const domain = data[domains[x]];
      if (domain && domain.length) {
        numUnassigned += domain.length;
      }
    }
    return numUnassigned;
  }
docs: /* Helper Functions