def parse_all_entities_num(cpdb_all_entities_num):
    """Parse cpdb all entities num field.
    """
    all_entities_num = cpdb_all_entities_num[0:cpdb_all_entities_num.rfind('(')]
    corrected_all_entities_num = cpdb_all_entities_num[cpdb_all_entities_num.rfind('(') + 1:-1]
    
    return all_entities_num, corrected_all_entities_num