You have to enter the stops you want explicitly in the advanced routing. You can also use X as a wildcard, but that won't work with something like 4 random airports, but might very well find you all fares with 2 stops, regardless of where they are, for example.