Folks,
Here is a summary of how votes are counted.
At the end of the night, at the close of Poll, the machines are "open" and the numbers of casted ballots are derived.
This is only for the votes done on the voting machine.
There are a significant number of votes yet to be counted.
Here is a partial list
Mailing Ballots
Affidavit Ballots
Special Ballots
Absentee Ballots
At my poll site in Queens at PS 161 Q, we had 4004 votes casted and approximately 1000 "manual votes"
In conclusion, this election is only final after each state board verifies and approved the finally tally; typically 2 to 3 weeks after an election