Implemented MaxCounter