default void checkIndexInBounds(long index) {
    if (index >= size()) {
      throw new IndexOutOfBoundsException("index: " + index + " size: " + size());
    }
  }
Returns the number of elements in the array
planetiler-core/src/main/java/com/onthegomap/planetiler/collection/AppendStore.java