Reset counters after flush