I am trying to find polynomials $f \in \mathbb{F}_{q} [x_1, x_2, \dots, x_m]/(x_i^p-x_i)$ such that $f-1=0$ has precisely a given number of roots.
For example, $f(x, y)$ in $\mathbb{F}_5[x, y]/((x_1^5-x_1)(x_2^5-x_2))$ with exactly $2$ roots.
Is it always possible? Are there any upper and/or lower bounds that can tell when it is impossible?
P.S. I only know of the bound by Schwartz-Zippel Lemma.