Please add
```D
/// ditto
size_t opDollar()
{
    return i;
}
```
here. "`/// ditto`" is optional