adding counterMax option to opentsdb