Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
I reached there the last step is to count the circles. Please help me.
Length[comps] will answer your question. If you only know the Graphics-object (pict=Show[...]) you can count as follows:
Length@Cases[pict, _Circle, Infinity]