def calculate_total_items(input_text):
    items = input_text.split(", ")
    print("Items mentioned:", items)

    total_count = len(items)
    print("Total count of items:", total_count)

    return total_count