scipy.sparse.lil_matrix. scipy.sparse.lil_matrix.size# property lil_matrix.size# Number of stored values. See also count_nonzeroNumber of non-zero values.