code: def count(self):
          
          try:
              num = len(self.df.index)
          except Exception as e:
              self.err(e, "Can not count data")
              return
          self.ok("Found", num, "rows in the dataframe")
docs: Counts the number of rows of the main dataframe