fixDAObug-wangyu->yuanzhe

fix some js error and add get count number function