allow invocation of `count` method without query.