Actually define IndexType, change opDollar to alias length, not _input.length