This might give you some ideas.
This opacity expression will make your layers turn on exponentially:
dur = 3; // time for all layers to appear (seconds)
num = 300; // total number of layers
idx = Math.exp((time/dur)*Math.log(num)) – 1;
if (idx >= index) 100 else 0
This position expression will position them randomly within the comp:
seedRandom(index,true);
random([0,0],[thisComp.width,thisComp.height])
Apply those two expressions to a star layer and duplicate it 299 times and preview it.
Dan