docstr: Cohort Name
  Length of Cohort
docstr_tok: ["Cohort","Name","Length","of","Cohort"]
code: def cohort_details(self):
      """
      Cohort Name
      Length of Cohort
      """
      length_dict = {
          key: len(value) for key, value in self.cohorts.items()
      }
      divs = []
      for i in range(len(length_dict)):
          if list(length_dict.values())[i] != 0:
              first_html = html.Div(list(length_dict.keys())[i])
              second_html = html.Div(
                  str(list(length_dict.values())[i]) + " datapoints"
              )
              divs.append(
                  html.Div(
                      [first_html, second_html],
                      style={
                          "padding-left": "20px",
                          "padding-right": "20px",
                          "padding-bottom": "0px",
                          "width": "200px",
                      },
                  )
              )
          else:
              pass
      return divs
  
file_path: explainx/lib/cohort_analysis.py
imports: from imports import *
label_desc: Use image node_id 8 for calling the cohortAnalysis obj's underlying member method code with example usage: obj.cohort_details() and returns: divs