class_docstr: Diagnostic and specification tests and plots for Count model
  
  status: experimental
  
  Parameters
  ----------
  results : Results instance of a count model.
  y_max : int
      Largest count to include when computing predicted probabilities for
      counts. Default is the largest observed count.
code: def __init__(self, results, y_max=None):
      self.results = results
      self.y_max = y_max
  
file_path: statsmodels/statsmodels/discrete/diagnostic.py
imports: import warnings
  import numpy
  from statsmodels.tools.decorators import cache_readonly
  from statsmodels.stats.diagnostic_gen import test_chisquare_binning
  from statsmodels.discrete._diagnostics_count import test_poisson_dispersion, test_poisson_zeroinflation_jh, test_poisson_zeroinflation_broek, test_poisson_zeros, test_chisquare_prob, plot_probs
label_desc: Use image node_id 1 to create a new CountDiagnostic object  with example: obj = CountDiagnostic(results, y_max)