Adding objects with the same name

I want to add up the same names by size and get a total value for the different materials. How can I do that? Thank you very much for your help.

add-objects.gh (10.8 KB)

when will these questions about set member stop :sob:

perfect thank you :slight_smile: