Refactored list_copy to list_counter for clarity.