add count reduction to TableExprs