Updating Autonumber list on deleting objects

I have 10 objects in a list with autonumber in another column. I wan to loop over auto number to check each value on each index. BUt when I delete any object the autonumber doesnot get refreshed. Can it possible to refresh autonumber based on number of items presend in list. 
1 answers

Are you using the autonumber attribute?

If so: you don't have control over that number, except the default value, which is the number where it starts counting.

If you want to have an increasing autonumber, which ensures no gaps; pic a integer attribute and microflow to defin the number.

Next to that; what are you checking on index??