list.count

Syntax

i := list.count(l,a)

Get the number of times a value appears in a list.

Returns:

i - number of elements matching a.

Arguments:

l - list to scan a - value to seek to match