Is there any way to automatically restart the AutoIncrement () function based on the Field Value on ArcMap?

I am developing a model in ModelBuilder to name parcels automatically. The polygons are already sorted on the order they should be. I need to execute the AutoIncrement function on each of the Field Values separately. To simplify the problem, the result I need is shown below. I already have the !Name! field and based on that, the !Count! field result must be acquired automatically.

Example Count

  • Thanks...Possibly a duplicate question, however I coudn't quite understand the answer. How should I apply the field calculation with that solution? – Guilherme Braghirolli Nov 11 '19 at 18:17
  • 1
    Seek "advanced field calculations" in help. – FelixIP Nov 11 '19 at 18:23