geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/ManualFeatureQuery.java
public long count(BoundingBox boundingBox, Projection projection) {
        BoundingBox featureBoundingBox = featureDao.projectBoundingBox(
                boundingBox, projection);
        return count(featureBoundingBox);
    }
public long count(BoundingBox boundingBox, Projection projection) {
        BoundingBox featureBoundingBox = featureDao.projectBoundingBox(
                boundingBox, projection);
        return count(featureBoundingBox);
    }
Manually count the rows within the bounding box in the provided
projection

@param boundingBox bounding box
@param projection  projection
@return count