geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java
public long count(BoundingBox boundingBox, Projection projection) {

        BoundingBox featureBoundingBox = getFeatureBoundingBox(boundingBox,
                projection);

        long count = count(featureBoundingBox);

        return count;
    }
public long count(BoundingBox boundingBox, Projection projection) {

        BoundingBox featureBoundingBox = getFeatureBoundingBox(boundingBox,
                projection);

        long count = count(featureBoundingBox);

        return count;
    }
Query for Geometry Metadata count within the bounding box in
the provided projection

@param boundingBox bounding box
@param projection  projection of the provided bounding box
@return count
@since 1.1.0