Total pipe length BOM

Hi!

Does anyone know how to put into BOM in pipe drawing, total length of each pipe type?!

Any chance that SW has this function and I simply cant find it?

Thanks

(please see attached file)

SolidworksRouting