@aggregate(_('Count of'))
def aggregate_count(items, col):
    return len(list(items))
Function to use on Group by Charts.
dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/models/group.py/aggregate_count