Check this xaml, I dont think we can create dynamic variables in UiPath. Here in your scenario we need to create multiple List based on the list elements count, so instead of creating lot of variables, I have created a List<List> as lstResult, where the final result will be available.