fixed NewCounter so random counters can still participate in DID generation