class_docstr: General distribution.
  
  Parameters
  ----------
  seed
      Random number generator seed for reproducibility.
docstr: The number of observed samples.
docstr_tok: ["The","number","of","observed","samples","."]
code: def n_samples(self):
      """The number of observed samples."""
  
imports: from __future__ import annotations
  import abc
  import random
  import typing
  from river import base
label_desc: Use image node_id 4 for calling the Distribution obj's underlying member method code with example usage: obj.n_samples() without return types