It only makes sense if the number of miners varies the hashrate, which in turn increases/decreases the difficulty, which in turn makes mining cheaper/more expensive. But I agree that the number of miners alone does not make mining profitable, I think the author was referring to hashrate.