The electoral college can disregard the popular vote, if they so desire.
There are 51 individual elections for President. Tabulating the aggregate vote is a nonbinding exercise in addition only.