len = (value) => {
  value = unwrap(value)
  if (Array.isArray(value)) return value.length
  if (typeof value === 'object') {
    return Object.keys(value).length
  }
  return String(value).length
}
Returns the length of an arbitrary value
@param {Array|Object|String} value
@return {number}