Pattern properties return digit counts

Updated pattern-properties to return a number for minimumFractionDigits
and maximumFractionDigits (when relevant) so that it can be used within
validateRange.