"Count All" query

Generates a platform-specific query string that counts all records in
the specified database

@param boolean $reset Are we want to clear query builder values?
@param boolean $test  Are we running automated tests?

@return integer|string when $test = true