class_docstr: Defines the representation of a scorecard
code: def num_features(self) -> int:
      return len(self.partitions)
  
file_path: AIX360/aix360/algorithms/rule_induction/trxf/scorecard/scorecard.py
imports: from numbers import Real
  from typing import List, Tuple, Dict, Any
  from aix360.algorithms.rule_induction.trxf.core import Feature
  from aix360.algorithms.rule_induction.trxf.scorecard import Partition
label_desc: Use image node_id 8 for calling the Scorecard obj's underlying member method code with example usage: obj.num_features() and returns: len