obtaining length of list as a value in dictionary in python 2.7,"[(1, [1, 2, 3, 4]), (2, [5, 6, 7])]"