Federer is a real master of winning titles without beating anybody.
This year he won 3 titles while beating only one top 10 player in the process, then #6 Cilic. That was in Melbourne where they also made sure that his majesty plays only in ideal conditions, either in well air-conditioned Laver arena or outdoors on rare days when the temperature was heavenly, around 25.
He also won a title in Stutgart where his highest ranked opponent was ranked #24, Kyrgios and in Basel, #20 Medvedev.
Anyway, there is a significant discrepancy between Federer and the other two Big 3 in this respect. While Federer only played 5 matches against top 10 players all the season long, winning two and losing three, similarly ranked Nadal is 10-3 against top tenners plus he also played more with Novak who was outside top 10 for the most of the season.
Novak, just looking at his best four and a half months this year, from Queens to now, is 9-1 against top 10 opponents.
The “king” of indoors is obviously fresh for final two tournaments after all the draws keep magically opening up for him this season. No wonder he doesn’t even plan to retire in next 10 years, no one would in his place.