updated repeat count