1. A method, comprising: storing a counter value using at least two non-volatile memory pages of a memory, the storing including: storing an initial counter value in a page of the at least two non-volatile memory pages; and for each update of the stored initial counter value, storing an update value and an opcode associated with the update value in the page of the at least two pages; and determining a current value of the counter based on the stored initial value, stored update values and stored opcodes.