public long count() {
    try {
      LOGGER.info("Counting geojson features in {}", name);
      return GeoJsonFeatureCounter.count(inputStreamSupplier.get());
    } catch (IOException e) {
      LOGGER.warn("Unable to feature count", e);
      return 0;
    }
  }
Returns the number of geojson features in this document.
planetiler-core/src/main/java/com/onthegomap/planetiler/reader/geojson/GeoJson.java