code: function count(rawObj) {
      if (typeof rawObj === 'object') {
          if (Array.isArray(rawObj)) {
              return rawObj.length;
          } else {
              return rawObj === null ? 0 : Object.keys(rawObj).length;
          }
      }
      // for number, string, boolean or undefined
      return rawObj === undefined ? 0 : 1;
  }
docs: /*
  Every function here should handle:
  string
  number
  boolean
  undefined
  null
  object
  array