I'm looking at these previous threads
Does there exist a continuous function from [0,1] to R that has uncountably many local maxima?
Countability of local maxima on continuous real-valued functions
where several insightful answers have been posted regarding the countability of strict local maxima of functions $f: \mathbb{R} \to \mathbb{R}$.
Now if we let $n \ge 1,$ and instead consider the functions $f: \mathbb{R}^n \to \mathbb{R}$, $x\mapsto f(x)=:y$ it seems to me that the set of strict local maxima (the maximum points $x$'s, not the maximum values $y$'s) of $f$ will still be countable, and the arguments will generalize easily into this $f$ as well.
So just making sure if it's true: are the set of strict local maximum points (not values) of a continuous function $f:\mathbb{R} \to \mathbb{R}$ countable?
Also, does the function $f$ have to be continuous? I don't think it's necessary?