numpy.ndarray.__len__

attribute

ndarray.__len__() <==> len(x)