Removed unused method
Refactored IdCounter class