Thank you, Beda. I understand your recommended solutions, but each will involve additional manual steps on the part of my users (e.g., editing post status of intermediate posts, which they actually never see; or adding/editing a field to this intermediate post). I have also tried nesting wpv-item inside my conditional, and indeed it does not work correctly for the reason you provided.
Here is how I'd like to do this, and outside of Toolset it would be simple...inside of Toolset it involves nested conditionals, which appear possible:
https://toolset.com/documentation/user-guides/getting-started-views/part-6-conditional-statements-in-views/
It would also, I imagine, involve a custom function in the conditional, which is also possible:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/using-custom-functions-in-conditions/
The steps would be as follows:
(0) Initialize a custom counter function outside of wpv-loop, setting it = 0.
(1) Enter wpv-loop
(2) Enter the conditional I've presented above. If the parent post is published, the intermediate post passes to step (3) below; if it is not published, wpv-loop iterates to check the next intermediate post.
(3) Iterate the custom counter function, setting it to current value + 1.
(4) Enter a second conditional, checking to see if the custom counter function is ≤ some target number of posts. If true, the parent post-link etc. are displayed. If false (i.e., we have exceeded the target number of posts), wpv-loop iterates to check the next intermediate post. (This is not an elegant feature of the code; would be nice to escape the loop at this point, but I don't think we can do this in Toolset shortcode.)
(5) Close the second conditional.
(6) Close the first conditional.
(7) Close wpv-loop, thus iterating back to (2) for remaining intermediate posts identified via the query.
If the above is doable, then I just need to figure out code for a custom counter function, and steps (0), (3), and (4); I'd imagine this custom counter function may be helpful to other Toolset users as well.
Many thanks for your support.
Regards,
Jim P.