How To Calculate Length Of Array In Python