public void printStats() {
    int busy = 0;
    int cap = 0;
    for (int i = 0; i < data.length; i++) {
      if (data[i] != null) {
        for (int j = 0; j < data[i].length; j++) {
          if (data[i][j] != null) {
            busy++;
          }
          cap++;
        }
      }
    }
    System.out.println("Size: " + size + "; Capacity: " + cap + "; Busy: " + busy);
  }
helper method to see capacity and number of entries in HAT
src/ds/HashedArrayTree.java