def extract_cands(mystr,candd):
    """ extract candidate names from _-separated string, increment dict entries
    """
    for c in mystr.split("_"):
        if c in candd.keys():
            candd[c] += 1
        else:
            candd[c] = 1
    return candd