How to access Length Parameter

How to access the length parameter using python code.

@shibujoseukken