You can’t get elected if you don’t count the votes. That requires a joint session of congress. If due to an unprecedented emergency the congress cannot come into session there’s no clear rule what happens.
Any number of emergent events may create an emergency preventing the congress from gathering. The congress are collaborators and the Supreme Court is compromised.