There ain't gonna be any President Pelosi.  If the presidential votes cannot be tallied then neither can the votes for congress be tallied and Pelosi is out of a job on Jan 3rd. In such a case, the senate pro tempore (Chuck Grassley) becomes president and the secretary of state (Mike Pompeo) becomes vice president.