Finalize counter