fixed bug of torrentCount