add download count column in Resource model