for org stats

relies on https://github.com/dimagi/core-hq/pull/915/