Let $f:[a,b] \to \mathbb{R}$ be bounded with countable discontinuities. Show that $f$ is Borel-measurable.
One solution uses the fact that A function on a compact interval [a, b] is Riemann integrable if and only if it is bounded and continuous almost everywhere.
But is it possible to solve this problem similarly to finite discontinuity cases? In other words, $\{f>t\}$ can be decomposed something like $\bigcup_n \{f_n>t\}\cup\{\text{discontinuous points}\}$? If the discontinuites were finite, then just I can order them so it was possible. But I don't know similar method is possible in countable cases. (It will be good then we don't need the condition $f$ is bounded.)