class_docstr: A proxy that represents a single shard instance within :class:`~gensim.similarity.docsim.Similarity` index.
  
  Basically just wraps :class:`~gensim.similarities.docsim.MatrixSimilarity`,
  :class:`~gensim.similarities.docsim.SparseMatrixSimilarity`, etc, so that it mmaps from disk on request (query).
class_docstr_tok: ["A","proxy","that","represents","a","single","shard","instance","within",":","class",":","`","~gensim.similarity.docsim.Similarity","`","index",".","Basically","just","wraps",":","class",":","`","~gensim.similarities.docsim.MatrixSimilarity","`",",",":","class",":","`","~gensim.similarities.docsim.SparseMatrixSimilarity","`",",","etc",",","so","that","it","mmaps","from","disk","on","request","(","query",")","."]
docstr: Get length.
code: def __len__(self):
      """Get length."""
      return self.length
  
imports: import logging
  import itertools
  import os
  import heapq
  import warnings
  import numpy
  import scipy.sparse
  from gensim import interfaces, utils, matutils
label_desc: Use image node_id 3 for calling the Shard obj's underlying member method code with example usage: obj.__len__() and returns: self