Given a list of lists, the length of the longest list can be found with the following code.
values = [[\'a\',\'a\'], [\
This will return the length of the longest list:
max(map(len, values))