autonumber - lifelike/countersheetsextension GitHub Wiki
There is currently only very limited support in the countersheetsextension for automatically generating values. That might never change because there are infinite many different ways of doing that, so it is better left to Scripting (also any system for configuring automatic numbers for more than a few specific uses would be as complex as Scripting anyway).
The support that is included is in the form of autonumber. If the default value of a header in the CSV is set to autonumber then every counter will have values 1, 2, 3 etc for that value.
If multiple identical counters are generated (ie there is a number in the first column for that counter), then each will get a unique number.
It is likely that autonumber is only useful for some very specific uses. Many cardgames have a unique number printed on each card for instance. Although if all identical cards should have the same number then numbers have to be added namually in the CSV instead.
It is also possible to put %autonumber% anywhere in a text element in a template to have an automatic number inserted without having to do anything in the CSV. The substitution of any %values% happens after other modifications to counter contents, so it is possible to set the text of an object to %autonumber% using the normal approach described on the Set Text page, and also using a Default Value. The example file autonumbers.csv (for use with numbers.svg) shows how to set a text field to %autonumber% so that the generated counters each have unique numbers all decided from the CSV contents.