First off - calm down, I think you're just overwhelmed with emotion at the moment.
Secondly, YOU DID NOT LOSE ALL YOUR PROGRESS. I repeat, DID NOT LOSE ALL YOUR PROGRESS!
The counter/progress tracking is PURELY PSYCHOLOGICAL. It's not about what number is in your signature, it's about what's happening in your brain. If you went 30 days, your brain wen through TREMENDOUS change! Every damn second of every hour you're not engaging your addiction, your brain is HEALING. All that can't be undone in one slip up.
What I am hoping this teaches you however is the merit of HARD MODE -i.e. NO EDGING. The lines becomes too blurred and greyed and before you know it ( as what hapepned w/ you and many others, including myslef) you relapsed. There's a quote " keep living life on the edge, and you're bound to fall off"
Just get back to it dude, don't even skip a beat. Start your counter at 0 with satifaction knowing that you're really much farther ahead than that interms of c hanges your brain is making! You got this! The more you relapse, the stronger you become, there's no need to beat yourself up. There are no fialures, just learning experiences- and you just learned what causes you to relapse. Use it as an opportunity to take in new information!
Learn how to deal with urges and sexual energy in others ways besides edging!