def METHOD_NAME(dois, arxiv_ids, linked_ids):
    """Increase the amount of times a paper with a specific doi
    has been cited by using its corresponding arxiv eprint and viceversa
    ``double_count`` is used to count the times that a doi and an arxiv eprint
    appear in the same paper so that we don't count them twice in the final result"""
    for (doi, arxiv_id), double_count in linked_ids.iteritems():
        total_count_core = dois[doi][0] + arxiv_ids[arxiv_id][0] - double_count[0]
        total_count_non_core = dois[doi][1] + arxiv_ids[arxiv_id][1] - double_count[1]
        dois[doi] = (total_count_core, total_count_non_core)
        arxiv_ids[arxiv_id] = (total_count_core, total_count_non_core)