Python Numpy Number Of Elements In Matrix