When retrieving a layer from db2, geoserver via geotools performs a count(*) query that chews up >3 seconds of valuable time. We do not use the results of that query and would like to remove it. Geoserver does provide ‘Skip the counting of the numberMatched attribute’ check box which doesn’t seem to work. We’ve WFS 1.1.0 and 2.0 but 1.0 reverses the coordinates so that has not been tried.