South Africa counts votes as Ramaphosa’s ANC looks to retain power