```python
def len_log(list1):
    if not list1:
        return 0
    return max(len(word) for word in list1)
```