Added all the move counting functions