Component Counting working