Move MAX_COUNTERS define to menu_common.h