8. Expand the binomial $\left(\sqrt{x}+\frac{1}{2 \sqrt[4]{x}}\right)^{n}$ in descending powers of $x$. If the coefficients of the first three terms form an arithmetic sequence, then the number of terms in the expansion where the power of $x$ is an integer is $\qquad$ .