Add counter output to dedupe