How to get Dimensioncount in the Sketch

Hi,

Thus i have Created a sketch which contains 5 Circles.and i giving Diameter Dimension of the Circles.Now how i can get the count of dimensions which i given in the Sketch .

Kindly Give me a  Detailed Solution.

For your better understanding i added images below

In this Sketch i having 5 Diameter Dimensions How i can get this count Through API.

Kindly Help me to find the solution

Thanks & Regards

Suresh

SolidworksApi macros