use map - reduce to total values