/* Count keys in array part of table 't': Fill 'nums' with number of keys that will go into corresponding slice and return total number of non-nil keys.  */
static unsigned int numusearray(const Table *t, unsigned int *nums)
/* Count keys in array part of table 't': Fill 'nums' with number of keys that will go into corresponding slice and return total number of non-nil keys.  */
static unsigned int numusearray(const Table *t, unsigned int *nums)
{
    unsigned int lc = 0;
    unsigned int lim = ttlg;
    if (lim > asize) {
      lim = asize;
      if (i > lim)
        break;
    }
    for (; i <= lim; i++) {
      if (!isempty(&t->array[i-1]))
        lc++;
    }
    nums[lg] += lc;
    ause += lc;
  }
  return ause;
}