How to insert/replace with sequence numbers

How to insert/replace with sequence numbers such as 1, 2, 3,

pizza-0
pizza-0
pizza-0
pizza-0
...

For example, replace the number 0 above with an incremental number.

pizza-1
pizza-2
pizza-3
pizza-4
...

I don’t know how to implement it, looking forward to adding similar functionality. Set increment, number of steps, etc.

Thanks