It is useful for me to sometime know the number of items that match a predicate. I think the general form might be:
(count) *(some-trait $Foo) (frob $Foo) (into $FooCount)
I don’t need the list, just the length of the list if I did form it.
Also, I can’t seem to find a built-in for the length of a list.