getVoteCount = async (pool, candidate) => {
  return await pool('votes').count('vote_id').where('candidate', candidate);
}
Retrieve the total count of records for a given candidate
from the database.

@param {object} pool The Knex connection object.
@param {object} candidate The candidate for which to get the total vote count
@returns {Promise}