Total Amb points

Hi,

I try to sum all forming tools... I try to traverse features and when  found "amb_" to open sketch and sum all points and then go to next ... this is not so correct because many could be patterned ... another is with selected body but i don't know how to extract forming tools from it

There is other method that can calculate the total of forming tools?

Thanks,

SolidworksApi macros