Setup code:
$static=0;

Value code:
$static++;

Output code:

<?php
print $static;
?>

There are 9 rows. And all values of this field = "9".
And should be "1, 2, 3, 4, ...".