code: def PrintSets(self):
          
          sets=self._getphotosets()
          for setname in sets:
              print("%s [%d]"%(setname,sets[setname]['number_photos']))
docs: Prints set name and number of photos in set