Limit the number of episodes in smart playlist

Not possible, I’m afraid. If you can’t achieve the list you’re after with Custom Filters, then it won’t be possible in a smart playlist either.

This is the most complex filter I did so far. It tries to do something else, but maybe it can give you an idea or two: Watch crossover episodes of several series in-order