Replacing \r\n with \n when validating max character count makes python validation match the javascript word count.