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