Returns the count of elements in the given array which match the given filter
Optional
the array to inspect
the function to filter the given array
the count of elements in the given array which match the given filter
count(['foo', 'bar', 'foobar'], value => value.includes('foo')); // 2 Copy
count(['foo', 'bar', 'foobar'], value => value.includes('foo')); // 2
Returns the count of elements in the given array which match the given filter