In an election, the number of candidates is 1 greater than the person to be elected. If a voter can vote in 254 ways, the number of candidates is