// Get the number of particles in the first frame
ResultsTable rt = new ResultsTable();
rt.reset();
ParticleAnalyzer pa = new ParticleAnalyzer(options, measurements, rt, minSize, maxSize);
pa.analyze(imp, stack.getProcessor(1));
nParticles = rt.getCounter();
if (nInitialCount == nParticles) {
// check to make sure that there are exactly nParticles entries
if (sxInitial != null && syInitial != null) {