If you arent allowed to run for office, than why would the votes for you count?
Well, if you aren’t allowed to run for office, then he’d be on no ballots.
However, it depends on what he is convicted for. They haven’t charged him with insurrection, so the only other disqualifying charge could be “rebellion”.
So, I assumed the OP was talking about if he was convicted but still legally eligible to run. In which case, if people write in his name, they have to count those.