How to stepdown footnote counter?

Hi, I have a document with a footnote in the heading. I am using Hydra to display the heading as the header on every page. But every time Hydra is called the footnote number in the header gets updated. I was wondering if there is way to step it back down?

Footnotes use a counter, so you can update that counter:

first #footnote[a]

#counter(footnote).update(x => x - 1)

first again #footnote[b]

Thank you. I tried this but somehow it does not work.

I anyway followed a different approach using the solution given here Is there a way to remove footnotes from the outline?.

#clean-footnote(hydra(1))