public int count(long geoPackageId, String tableName, GeometryEnvelope envelope) {
        Cursor cursor = query(geoPackageId, tableName, envelope);
        int count = cursor.getCount();
        cursor.close();
        return count;
    }
public int count(long geoPackageId, String tableName, GeometryEnvelope envelope) {
        Cursor cursor = query(geoPackageId, tableName, envelope);
        int count = cursor.getCount();
        cursor.close();
        return count;
    }
public int count ( long geoPackageId , String tableName , GeometryEnvelope envelope ) { Cursor cursor = query ( geoPackageId , tableName , envelope ) ; int count = cursor . getCount ( ) ; cursor . close ( ) ; return count ; }
Query for all table geometry metadata count matching the envelope

@param geoPackageId GeoPackage id
@param tableName    table name
@param envelope     geometry envelope
@return count
@since 1.1.0
Query for all table geometry metadata count matching the envelope