code: def add_ability(self, phase, ability):
          
          if phase not in self.abilities:
              self.abilities[phase] = []
          self.abilities[phase].append(ability)
          return len(self.abilities[phase])
docs: Add the given ability to this Card under the given phase. Returns
          the length of the abilities for the given phase after the addition.