+ add waiting count in calc lp and ap