added prototype for CountMovePoints method