SELECT mainurl, COUNT(DISTINCT(id_user)) AS anzahl FROM `favplus_links_data` GROUP BY mainurl ORDER BY anzahl DESC