run("Make Composite"); Stack.setDisplayMode("grayscale"); run("Set Measurements...", "area mean integrated display redirect=None decimal=3"); run("Clear Results"); setSlice(1); count(); setSlice(2); count(); function count() { run("Subtract Background...", "rolling=10 slice"); setAutoThreshold("MaxEntropy dark"); run("Analyze Particles...", "size=0-° circularity=0.00-1.00 show=Nothing display exclude slice"); }