def calculate_total_items(input_text):
    items_list = extract_items(input_text)
    print("Items in the list:", items_list)

    question = extract_question(input_text)
    print("Question specifics:", question)

    total_items = len(items_list)
    print("Total items:", total_items)

    return total_items

def extract_items(input_text):
    items_list = input_text.split(", ")
    return items_list

def extract_question(input_text):
    question = input_text.split("?")[0].split("I have ")[-1]
    return question