Add integration tests for getFeature with resulttype hits to test app-schema count works.
master pr
backport 2.18.x
2.17.x