added set operation for counters