Total Length of same structural members

How can I get automatically Total Lenght of the same structural member in weldment cut lust or BOM?

In SolidEdge it is really easy.

SolidworksWeldments