I imagine you're referring to the count on the badge tracker in your profile page. The Electorate badge is awarded for 600 votes cast on questions, so the count on the tracker will reflect that (i.e. it will tell you the number of votes you've cast on questions), and this is clarified in the display if you click on the progress bar. On the other hand, on the statistics on the right hand side gives the 'total number of up and down votes cast' (as per the tooltip), i.e. all your votes on questions plus all your votes on answers.
The two numbers are obviously completely independent, and subject only to (total votes) ≥ (question votes).
As for the 25% thing, it works by preventing you from getting the badge if you have too many answer votes per question votes: thus, if at the time of your 600th question vote you have more than 1800 answer votes (i.e. you have 600 question votes, but <25% of your total votes is on questions) then you won't get the badge. If you then cast more question votes, slower than you cast answer votes, you'll get the badge when you have cast less than three answer votes per question vote.