Holes count on circular components

Hi,

I am new to macro and entry level to solidworks. Can anyone help me in writing a macro on how to count Holes on circular components (i.e holes are on the circumference) with different hole sizes on the component.

Thank you,

Raju

SolidworksApi macros