fix count error on market