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 step(self):
      self.step_count += 1
      if self.step_count >= self.num_steps:
          raise StopIteration()
  
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 2 for calling the StepCountingLearner obj's underlying member method code with example usage: obj.step() without return types