method setLimitCounting is added.