sum data by attributes
data and sum for 2011,2012