code: function() {
      var value = this.inputValue;
  
      if (value instanceof Array) {
        return value.length;
      }
  
      if (typeof value === 'number') {
        return value;
      }
  
      if (this.validator._hasNumericRule(this.attribute)) {
        return parseFloat(value, 10);
      }
  
      return value.length;
    }
docs: Get true size of value
  
  @return {integer|float}