Did you know ... Search Documentation:
Predicate aggregate/4