$arrayElementCount
This function is used to count the number of times a specific element appears in an array.
It takes three parameters: the element to count, whether or not to trim whitespace before comparing elements, and the name of the array to search
Usage
$arrayElementCount[Element To Count;Trim before compare (yes/no);array name]