# File lib/buildr/core/progressbar.rb, line 62
  def set(count)
    @count = [count, 0].max
    @count = [count, @total].min unless @total == 0
    render if changed?
  end