This function is used to determine the ‘size’ of the input object. Depending on the type of the object, the size is defined using one of the options below:

  • The number of elements in a list
  • The number of pairs of a name-value table
  • The length of a text
  • The length of the text representation of a number