Pence is counting the votes sent by the states via the Electoral College.
He can reject electors that he believes are illegal.