Returns the number of elements in the given array that match the given filter condition. Is an optimized form of array.filter().length.
array.filter().length
The array to count.
The filter function to select elements.
Returns the number of elements in the given array that match the given filter condition. Is an optimized form of
array.filter().length.