fix ticket 2321

changed numIterations arg to Any/Object.

for some reason using Number/Double didn't work.

https://issues.jboss.org/browse/RAILO-2321