Adding count to class definition for avoid warnings