Extract the number of dimensions.
ndims(object, ...)
object
To extract the number of dimensions from.
...
Arguments for further methods