max should be len in docs

simple typo :)