zapier/django-drip — pull request #25 by jsocol (2013-02-11 04:57:52+00:00)
Title: Support Count() aggregates for M2Ms.

Use __count for a field name and then treat define the rest of the
rule normally. In QuerySetRule.apply, the queryset is annotated behind
the scenes and then the filter is applied.

I wasn't sure how best to update the docs. This patch should apply cleanly to master, even though it was written against several other patches.