Add sum_by window Function