Added count DSL and search integration test