parameters: (self)
return_statement: return self.nbeads
docstring: Length function.
  
        This is called whenever the standard function len(forcebeads) is used.
  
        Returns:
           The number of beads.
docstring_summary: Length function.
docstring_tokens: Length function .
function: def __len__(self):
        """Length function.
  
        This is called whenever the standard function len(forcebeads) is used.
  
        Returns:
           The number of beads.
        """
  
        return self.nbeads
function_tokens: def __len__ ( self ) : return self . nbeads