Check that the election has candidates/ballots before running the count.