replace
$dl = get_downloads('limit=5&orderby=hits&order=desc');
with
$dl = $wpdb->get_results("SELECT * FROM prog_download_monitor_files files
INNER JOIN prog_download_monitor_file_meta meta
ON files.id=meta.download_id
WHERE meta.meta_name='YOUR-META-NAME'
");
and then $d->meta_value