@dispatch(count, sa.Table)
def compute_up(t, s, **kwargs):
    if t.axis != (0,):
        raise ValueError('axis not equal to 0 not defined for SQL reductions')
    try:
        c = list(s.primary_key)[0]
    except __HOLE__:
        c = list(s.columns)[0]

    return sa.func.count(c)
dataset/ETHPy150Open blaze/blaze/blaze/compute/sql.py/compute_up