Sheet Metal No. of Cut Path

want to calculate laser cutting cost using no of cut paths in sheet metal costing. e.g. following image having 3 cut paths & rate for single cut path is 2 so cost  = no of cut path(3) * rate (2) = 6 

how to calculate total no of cut path?

Is possible using in costing template or need a macro?

SolidworksApi/macros