The number of people living in poverty in South Africa has more than halved to 4 million, compared to almost 10.5 million in 2017.