def update_count(self):
        self.num_media = self.files_attached.count()
        self.num_comments = self.comments.count()
        self.save()
Creates a new pass.
dataset/ETHPy150Open ExCiteS/geokey/geokey/contributions/models.py/Observation.update_count--crossover with--dataset/ETHPy150Open google/closure-linter/closure_linter/aliaspass.py/AliasPass.__init__