What country has the most languages?

Papua New Guinea, with 840 living languages