LoopItem::index
LoopItem::index0
That's what the element is called in the template syntax. Also refactor `Generator::visit_attr()` at bit to make it more readable. Also add `__askama` prefix to `_len`.