def set_var_to_output_prefix(counter):
    """
    This function gets a variable and returns it according to the standard of outputs prefix.
    Args:
        counter: report counter - mail_incoming_traffic_summary.
    Returns:
        The counter according to the standard of outputs prefix - MailIncomingTrafficSummary.
    """
    list_counter_words = counter.split('_')
    counter_words = ''
    for word in list_counter_words:
        counter_words += word + ' '
    counter_words_capital_letter = counter_words.title()
    counter_output_prefix = counter_words_capital_letter.replace(' ', '')
    return counter_output_prefix