def count_active_tables(self):
        return len([1 for count in self.alias_refcount.itervalues() if count])
%prog annotate blastfile query.fasta subject.fasta
dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/db/models/sql/query.py/BaseQuery.count_active_tables--crossover with--dataset/ETHPy150Open tanghaibao/jcvi/formats/blast.py/annotate