Вы можете передать функцию enumerate(ld) в max с помощью правильной клавиши:
enumerate(ld)
max
>>> max(enumerate(ld),key=lambda (x,y):y['size'])[0] 1