Trump lost Philadelphia by 475,277 votes in 2016, but by only 471,050 votes in 2020. So he had a net *gain* in Philadelphia of 4,227 votes.

Meanwhile, from 2016 to 2020 he had a net *loss* of more than 4,227 votes in ELEVEN other Pennsylvania counties.