Writeback counting