Prior to 0.7.6 doing Model.query().count() resulted in in a query select count(*) from "model" as the underlying knex count function defaults to '*' as the column name parameter, in an falsy value is passed in.
After 0.7.6 if no column name is specified the query becomes select "model".* from "model".