update query that evaluates different work counts for calculating tally