GeoTools

JDBCFeatureSource count method doesn't allow Filter.NONE