Finding How Many Roots a Polynomial has in (0, 1) or (0, ∞)