Add sum as option for bar type