In this paper, we define the generalized counting functions in the higher dimensional case and give an upper bound of the essential norms of composition operators between the weighted Bergman spaces on the unit ball in terms of these counting functions. The sufficient condition for such operators to be bounded or compact is also given.