def DecrementFromPhotoDicts(self, photo_dicts):
    for p in photo_dicts:
      self.num_photos -= 1
      self.tn_size -= p.get('tn_size', 0)
      self.med_size -= p.get('med_size', 0)
      self.full_size -= p.get('full_size', 0)
      self.orig_size -= p.get('orig_size', 0)
Decrement counters with the photo stats.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/accounting.py/Accounting.DecrementFromPhotoDicts