count moves