Hi Alteryx community,
I'm attempting to achieve a loop function in Alteryx to add ID #s to my records. A simple one will work where I start with 1 and +1 every 3 records. My data set looks like the the screenshot here:

And I would like it to look like this:

I'm not sure how to even start going about this besides using the sort tool to put the records in order. I picture I will need to somehow reference the record before and evaluate if it equals the 2 before it to determine if +1 needs to occur.
Thank you in advance to anyone that takes the time to help!
Best,
Dylan