Create a real or integer variable. Every time a ghoul (or whatever) is killed, increase that variable by one. Display that variable in text, and when it hits the desired number, teleport the unit away with Unit - Instantly move unit to <point>.
If the units are preplaced, you can use triggers to specifically trigger with those units.