ERROR: "Java.lang.Double can not to be cast to java.lang.Integer"

Hi @davidbaines,

You can try int(${numpoints}) in repeat_count, it might help you.
Cheers.

Raj