def add_review(status):
    """
    Adds the flags on the tracker document.
    Input: tracker document.
    Output: sum of the switches.
    """
    cluster = status['cluster_switch']
    classify = status['classify_switch']
    replace = status['replace_switch']
    final = status['final_switch']
    finished = status['finished_switch']
    num = cluster + classify + replace + final + finished
    return num