Compute counts, sums, group-bys, and joins efficiently with zite.sql() instead of pulling rows into JavaScript.
findAll caps at 2,000 rows, so aggregating in JavaScript silently undercounts on large tables. Push the math into the database instead: call zite.sql() from a backend workflow.