Java Get String Length Python Function Documentation