Mwnci count() Function

Syntax

count(array, value)

Description

count() returns the number of elements with the specified value

Example

a=["fred", "jim", "fred", "bob"]
println(count(a, "fred"))

2