Fixing variable name lenght -> length.
Merge pull request #9566 from austinkelleher/dev

Fixing variable name lenght -> length.