fix the problem that the second MR can not get the number of baskets