Add sum functionality with test
Add partial aggregate rate functionality