Count function

Gets the number of elements in a data field


Description

The Count function returns the number of elements of a data field.


Syntax

Count (list)

Count (table)


Example

a=[4,7,5,2,4,8,4,6,3]
count(a) = 9


In the next example, the average value of a list is determined.

a=[4,7,5,2,4,8,4,6,3]
d = sum(a) / count(a) = 4.78

Data field based functions

ClrRect Deletes a rectangular area
Clip Limits values of a data field
Count Returns number of elements
Diff Difference values of elements
Dim Number of dimensions of tables
Flat Joins rows of a table
GetAt Value of a specified position
GetRect Returns the specified area
Insert Inserts new elements
Join Join fields together
New Generates a new list
Pick Get selected items from a list
Remove Removes items from a list
Reverse Inverts the order in a list
Scale Converts values to a new scale
SetAt Sets a value at a position
Split Splits a list into sublists
Sum Returns the sum of all elements
Text Generates a text list
Trim Removes invalid values