split a list by the number of elements in sublist.