Hey there,

I have some trouble finding a solution to this problem.

Basically a have a list with of numbers. For example:

{0;0} 1

{1;0} 2

{2;0} 1

{3;0} 3

{3;1} 1

{4;0} 1

{4;1} 2

Now I would like to mass addition every number in the same branch. In this example branch 3 and 4.

So the end result should look like this:

{0} 1

{1} 2

{2} 1

{3} 4

{4} 3

Thanks in advance!