update getFeatureCount-function in order to work with different wfs version