max counter control from command line arg