Added component counter, fixes #45

Component labels are generated with unique numbers based on specific
component count within containing visible class.