Part quantities in assembly into part drawing?

Hi all,

I read many discussions about this. Fact is that all those macros and equations work only for old SW versions.

I am working on SW 2016 SP2, has samone idea how to do that?

SolidworksApi macros