Update Builder.php

In MySQL, when you run a count(*) against a query with a "group by" and the result is "0", MySQL returns an empty record set rather than "0". In the existing code, it's assumed there will always be a result to count(*), causing $results[0] to be an undefined index, resulting in a fatal exception.