From the docs: When you call count() without a query predicate, you may receive inaccurate document counts. Without a query predicate, count() methods return results based on the collection's metadata, which may result in an approximate count.
Change usage of .count() to .itCount() for all usages in transaction_reaper.js.