count
count(x)
Count the number of elements of a matrix, array or string.
Try it yourself:
$1 | a = [1, 2; 3, 4; 5, 6]
| |
$2 | count(a)
| |
$3 | size(a)
| |
$4 | count("hello world")
|
See also:
All functions