moved the counter's magic numbers into the config file.