Not many. Gas giants can form on their own, they have composition similar to interstellar material (mostly hydrogen and helium).
Rocky planets can only form in proto disks around newly forming stars. Heavier materials (carbon and up) are concentrated this way.