Added a method to return the number of pieces downloaded thus far.