Changing MaximumRepeatAttributeConfigurationValidator.validateDefault algorithm: counts only the same characters repeating.