My pleasure, James… happy to help.
Hmm, maybe reset the counter via the Page is loaded action on the page the user lands on when they log in successfully?