Thank you, this works well! Is the attribute stored on the domain level or the object level?
I tested this by creating two users and the script performed as expected, I even deleted those two users and created a third and it incremented as expected as well.
I'm just wondering because after we offboard someone eventually we delete the accounts but we never want to reuse any of the numbers again.