code: def get_data(self):
          
          # Count level(shortest path to root) and depth(longest path to root)
          # values for all unique GO Terms.
          data = []
          ntobj = cx.namedtuple("NtGoCnt", "Depth_Level BP_D MF_D CC_D BP_L MF_L CC_L")
          cnts = self.get_cnts_levels_depths_recs(set(self.obo.values()))
          max_val = max(max(dep for dep in cnts['depth']), max(lev for lev in cnts['level']))
          for i in range(max_val+1):
              vals = [i] + [cnts[desc][i][ns] for desc in cnts for ns in self.nss]
              data.append(ntobj._make(vals))
          return data
docs: Collect counts of GO terms at all levels and depths.