In America, the president is indirectly elected, even though most voters' ballots would list the candidates by name. In 2016, Trump received 304 electoral votes. In parliamentary systems, the PM still has a constituency, in the most recent UK general election, Boris Johnson received 25,351 votes personally in Uxbridge and South Ruislip.
So which directly elected official has had the most votes for them in a personal capacity, in a free and fair system? The largest number I've found so far is the 2018 Brazilian general election: 57,797,847 votes for Bolsanaro in run-off voting. I checked out India's president - but they are also elected through an electoral college.