CRM-15107 - Fix slow group_contact count query on large dbs
Merge pull request #4436 from colemanw/CRM-15107

CRM-15107 - Fix slow group_contact count query on large dbs