def test_tag_update_delete_count(self) -> None:
        """Test that the count of a tag is updated when a tag is deleted
        from an observable."""
        Tag(name="test").save()
        self.obs1.tag(["test"])
        self.obs1.delete()
        fresh_tag = Tag.find(name="test")
        self.assertEqual(fresh_tag.count, 0)
Test that the count of a tag is updated when a tag is deleted
        from an observable.
tests/schemas/tag.py