Get the equivalent COUNT query of this query as a new query object.
SelectQueryInterface A new SelectQuery object with no fields or expressions besides COUNT(*).
public function countQuery();