def METHOD_NAME(self):
    """
    Return the degree of the place.
    EXAMPLES::
        sage: F.<x> = FunctionField(GF(2))
        sage: O = F.maximal_order()
        sage: i = O.ideal(x^2 + x + 1)
        sage: p = i.place()
        sage: p.degree()
        2
    """
    if self.is_infinite_place():
        return 1
    else:
        return self._prime.gen().numerator().METHOD_NAME()