Assign download count to variable