code: public long count(BoundingBox boundingBox) {
  		GeometryEnvelope envelope = boundingBox.buildEnvelope();
  		long count = count(envelope);
  		return count;
  	}
docs: Query for Geometry Index count within the bounding box, projected
  correctly
  
  @param boundingBox
  bounding box
  @return count