add support for changing repeat count in advanced