Forming tools Count

Hi,

How can i do to count all forming tools from a part with api? ...

SolidworksApi macros