Length of a sequence or list: size nops length

### 5.39.3 Length of a sequence or list: size nops length

You can find the length of a sequence or list with any of the size, nops or length commands.

- size (or nops or length) takes one argument:
  S, a sequence or list.
- size(S) (or nops(S) or length(S)) returns the length of L.

#### Examples

- Input:
  nops(a,e,i,o,u)
  or:
  size(a,e,i,o,u)
  or:
  length(a,e,i,o,u)
  Output:

  5

- Input:
  nops([3,4,2])
  or:
  size([3,4,2])
  or:
  length([3,4,2])
  Output:

  3