The world’s second-biggest economy saw growth of almost 5% in the third quarter of the year.