code: def count_courses(self):
          
          c = 0
          for x in self.tuning:
              if type(x) == list:
                  c += len(x)
              else:
                  c += 1
          return float(c) / len(self.tuning)
docs: Return the average number of courses per string.