public long count(BoundingBox boundingBox) {
		long count = 0;
		switch (getIndexedType()) {
		case GEOPACKAGE:
			count = featureTableIndex.count(boundingBox);
			break;
		case RTREE:
			count = rTreeIndexTableDao.count(boundingBox);
			break;
		default:
			count = manualFeatureQuery.count(boundingBox);
		}
		return count;
	}
public long count ( BoundingBox boundingBox ) { long count = 0 ; switch ( getIndexedType ( ) ) { case GEOPACKAGE : count = featureTableIndex . count ( boundingBox ) ; break ; case RTREE : count = rTreeIndexTableDao . count ( boundingBox ) ; break ; default : count = manualFeatureQuery . count ( boundingBox ) ; } return count ; }
Query for feature index count within the bounding box, projected
correctly

@param boundingBox
bounding box
@return count