def add_feature_rate_overall(profile_updated_df):

    """
    Create Feature :
    - Total count of received, viewed, completed
    - Overall Rates :
            - rate_review = total reviewed / total received
            - rate_completed_reviewed = total completed / total reviewed
            - rate_completed_received = tatal completed / total received

    """
    profile_updated = profile_updated_df.copy()

    profile_updated['offer_received_total'] = profile_updated.bogo_received + profile_updated.discount_received + \
                                            profile_updated.informational_received

    profile_updated['offer_viewed_total'] = profile_updated.bogo_viewed + profile_updated.discount_viewed + \
                                            profile_updated.informational_viewed

    profile_updated['offer_completed_total'] = profile_updated.bogo_completed + profile_updated.discount_completed

    profile_updated['rate_offer_viewed_overall'] = \
            (profile_updated['offer_viewed_total'] / profile_updated['offer_received_total']).fillna(0)

    profile_updated['rate_offer_completed_received_overall'] = \
            (profile_updated['offer_completed_total'] / profile_updated['offer_received_total']).fillna(0)

    profile_updated['rate_offer_completed_viewed_overall'] = \
            (profile_updated['offer_completed_total'] / profile_updated['offer_viewed_total']).fillna(0)


    return profile_updated