Typo fix in ensure_length_of documentation

Fixing incorrect method name in documentation.