Returns the number of elements in the array that match value.
This example returns the number of times John appears in a list of names.
var( myNames=array('Tim', 'Jane', 'John', 'Stephanie', 'Jaques', 'John', 'Lucy', 'Wendy') ) var( myCount = $myNames->count('John') ) //output count $myCount
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.