number
number(x,f)
-- the number of elements e of the list x for which f(e) is true.
See also
positions
and
select
.