Is there a way to efficiently find the number of real roots of a polynomial $P$ in a range $[a,b]$ with $a,b \in \mathbb{R}$? You may/may not know much about the coefficients of the polynomial, so I want methods that work based on the fact that it's a polynomial.
EDIT: I know about Sturm's theorem, but I think it would be too slow for my use case (polynomial of around degree 30), as I have to generate at most n polynomials, n being the degree of the original polynomial.