class Rake::CpuCounter

def count_with_default(default=4)

def count_with_default(default=4)
  count || default
rescue StandardError
  default
end