synapsestudios/synapse-base — pull request #53 by paulstatezny (2014-05-02 21:10:54+00:00)
Title: Fix getting count of results

## Description

The FinderTrait just adds a `count(*)` column to the given query to get the total count of results. This is not always accurate. If the query contains an aggregate column (`Select AVG(...)`) the count will be larger than the truth.