how to get the index and occurance of each item using itertools.groupby(),"[(key, len(list(it))) for key, it in itertools.groupby(list_one)]"