DDF-361 - made the result count configurable