Added a check to make sure particle count is always the same after
processing - as a first step to narrow down the NPE issue that happens
on big scenes