In your theme, override the a_list_items function to get the array index from each item. Something like this:
public function a_list_items($a_items)
{
foreach ($a_items as $num => $a_item) {
$this->output('<p>' . $num + 1 . '</p>');
$this->a_list_item($a_item);
}
}
|