Make index counter nicer