def add_to_query(self, query, alias, col, source, is_summary):
        try:
            table, field = col
        except ValueError:
            table, field = None, col
        col = NotDeletedCountColumn(table, field)
        return super(NotDeletedCount, self).add_to_query(
            query, alias, col, source, is_summary)
Add the aggregate to the nominated query.
dataset/ETHPy150Open mozilla/moztrap/moztrap/model/mtmodel.py/NotDeletedCount.add_to_query