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