def setup_query(self):
    if all(((self.query.alias_refcount[a] == 0) for a in self.query.tables)):
        self.query.get_initial_alias()
    (self.select, self.klass_info, self.annotation_col_map) = self.get_select()
    self.col_count = len(self.select)
def setup_query(self):
    if all(((self.query.alias_refcount[a] == 0) for a in self.query.tables)):
        self.query.get_initial_alias()
    (self.select, self.klass_info, self.annotation_col_map) = self.get_select()
    self.col_count = len(self.select)