Java Class containing constructors and methods to create and modify counters objects