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.