configurable repeat count in collections