Add support for Counted repetition.