The answer is 316,251.
We can start with casework to get an idea:
Case one: Everyone (all fifty) vote: this is 53 choose 3. This is because we are employing the stars and bars method where the "stars" are the votes total, and the bars divide them up into 4 chunks for 4 candidates.
Case two: One person decides not to vote: this is 52 choose 3.
We can continue like this, and when we add the cases up we will end up with something like this:
(533)+(523)+(513)+⋯+(43).
(that last case is when only one person votes, and we have 1 star and 3 bars and need to find 3 places to put 3 bars).
This looks familiar!
If we re-arrange it:
(41)+⋯+(5149)+(5248)+(5347)
It's the hockey stick identity!
All we're missing is the 3 choose 0 term. This can be solved easily:
(41)+⋯+(5149)+(5248)+(5347)=(5447)−(30)=(543)−1
.