add counter to count download count