Store the latest counter value when verifying.