class_docstr: A learner which counts `num_steps` and then raises `StopIteration`.
class_docstr_tok: ["A","learner","which","counts","`","num_steps","`","and","then","raises","`","StopIteration","`","."]
code: def __init__(self, num_steps: int):
      self.step_count = 0
      self.num_steps = num_steps
  
file_path: acme/acme/core_test.py
imports: from typing import List
  from acme import core
  from acme import types
  from absl.testing import absltest
label_desc: Use image node_id 1 to create a new StepCountingLearner object from inherited base classes: core with example: obj = StepCountingLearner(num_steps)