check for null counters; set application id for tez jobs when available