SciPy

scipy.sparse.dok_matrix.__len__

dok_matrix.__len__(self)[source]

Return len(self).