def METHOD_NAME(urls, count_types):
    counts = {}
    for type_, config in count_types.items():
        for result in _get_urls_data((config, urls)):
            if isinstance(result, dict):
                # manually setting keys on social data here
                for key, value in result.items():
                    if key not in counts:
                        counts[key] = 0
                    counts[key] += value
            else:
                if type_ not in counts:
                    counts[type_] = 0
                counts[type_] += result
    return counts