How do I get $view->the actual row number? How do I get the actual rows number in views-view-field--title.tpl.php in Drupal7 and views3?

I know how to get the total by

$view = views_get_current_view();
$view-&gt;total_rows;


But how do I get the actual row number? To print
1/4
2/4
3/4
4/4
user1090003 has the right answer.


  in views-view-fields.tpl.php or... you can have the row index like this $view->row_index


Further explanation:

In views-view-field--title.tpl.php (suggestion of views-view-fields.tpl.php), you already have the $view object available.   That view object has a property "row_index" that equals the current row number starting at zero.

Example of use:

    &lt;?php print $view-&gt;row_index; ?&gt;
    &lt;?php print $output; ?&gt;


Example results:

    0
    Node Title 1
    --
    1
    Node Title 2