In the LinkDB, the respectively next counter for the generation is saved in the "CNSSEQ" table.
If needed, as many counter names (GEN1, GEN2,...) as possible may be used in order to differentiate between the counters in the LinkDB.