'Get the number of queries.'

def _get_count(self):

    ignore_query = {'ns': {'$ne': ('%s.system.indexes' % self.db.name)}}
    count = (self.db.system.profile.find(ignore_query).count() - self.counter)
    self.counter += 1
    return count
