code: def counts(self):
      return np.bincount(self.group_int)
  
imports: from statsmodels.compat.python import lrange, lzip
  import numpy
  import pandas
  import statsmodels.tools.data
  from pandas import Index, MultiIndex
label_desc: Use image node_id 2 for calling the Group obj's underlying member method code with example usage: obj.counts() and returns: np