def insertEvent(self, event): """ wrap CollectorModel.insertEvent to update the element count """ CollectorModel.insertEvent(self, event) self.updateCount()