Add validation for year number of digits.