Performs a linear scan of buf from [0 .. buf.length$(RP), returning a count of the number of elements where pred returns true.
The array to scan.
The evaluation predicate, which should return true if the element is a valid match and false if not. This predicate may be any callable type.
The number of elements where pred returns true.
See Implementation
Performs a linear scan of buf from [0 .. buf.length$(RP), returning a count of the number of elements where pred returns true.