Counter class with a MVC GUI