global

def running() @status.reduce(0){|x, s| x += (s == 'run' ? 1 : 0) } end

def running() @status.reduce(0){|x, s| x += (s == 'run' ? 1 : 0) } end