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

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