def METHOD_NAME(self) -> int:
    """return the number of spin projections"""
    if self.spin is None:
        raise Exception(
            "cannot request number of spin states for spinless fermions"
        )
    return round(2 * self.spin + 1)