method setLimitCounting in MassPlotter is changed.