contestada

About how long after Election Day does it take to know the official results of the election? Why is the media usually able to predict the next president on Election Day or soon after? Why does the media take on this task?