class_docstr: Holds the inventory of 2D pieces and performs cutting.
  :param max_pieces_in_inventory: Size of the inventory. If full, the oldest pieces get discarded.
  :param raw_piece_size: Size of a fresh raw (= full-size) piece.
docstr: Current size of the inventory.
docstr_tok: ["Current","size","of","the","inventory","."]
code: def size(self) -> int:
      """Current size of the inventory."""
      return len(self.pieces)
  
file_path: maze/tutorials/tutorial_maze_env/part03_maze_env/env/inventory.py
imports: from .maze_action import Cutting2DMazeAction
label_desc: Use image node_id 6 for calling the Inventory obj's underlying member method code with example usage: obj.size() and returns: len