Make counter state transient so it persists across continuations