def boolean(s):
    if s.lower() in ('', '0', 'no', 'off', 'false'): return 0
    else: return 1
Performs a COUNT() query using the current filter constraints.
dataset/ETHPy150Open francelabs/datafari/windows/python/Tools/webchecker/tktools.py/boolean--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/db/models/sql/query.py/Query.get_count