Add the given attribute to this Card. Returns the length of
        attributes after addition.

def add_attribute(self, attribute):
        """
        Add the given attribute to this Card. Returns the length of
        attributes after addition.
        """
        self.attributes.append(attribute)
        return len(self.attributes)