changed link data type from URL to String
output is sorted by number of occurrences