# count

Gets the number of elements in an array that conform to the given condition.

count([1, 2, 3], (x) => x > 2); // 1