code: def weekdays(self):
          
          if self.itemStyle() == self.ItemStyle.Group:
              out = 0
              for i in range(self.childCount()):
                  out += self.child(i).weekdays()
              return out
          else:
              dstart = self.dateStart().toPyDate()
              dend   = self.dateEnd().toPyDate()
              
              return projex.dates.weekdays(dstart, dend)
docs: Returns the number of weekdays this item has.
          
          :return     <int>