seq-count

seq-count is a compiled Lisp function in `seq.el'.

(seq-count PRED SEQ)

Return the number of elements for which (PRED element) returns non-nil in seq.