Set the limit to whatever you want. Press the up arrow key to delete everything and the green flag to restart. Press space once the counter has reached the limit.
I was bored so I made this, pretty cool, huh?