TEZ-1074. Reduce the frequency at which counters are sent from the task
to the AM to reduce AM CPU usage. Contributed by Rajesh Balamohan.