finding duplicates in a list of lists,"map(list, list(totals.items()))"