Object > Plug-ins > Type Tools > Make Numbers Sequence... and the
addon.type.numbers command fill the selected type objects with numbers
from a start value by a step, optionally stopping at an end value. Each
number replaces the whole text, every number in it, or every {%n}
placeholder. Objects are taken in stacking order, by rows or by columns,
or in a seeded random order, with optional leading and trailing zeros.
The run is one undo step, records none when nothing changes, and refuses
threaded type and bad parameters.
Based on Sergey Osokin's MIT-licensed MakeNumbersSequence script.