Let $f$ be a homogeneous polynomial with integral coefficients of 4 variables $a$, $b$, $c$ and $d$. Suppose $f$ is invariant under the rotation that rotates $(a,b)\in\mathbb{R}^2$ and $(c,d)\in\mathbb{R}^2$ simultaneously by the same angle (so this is a diagonal $SO(2)$ action on $\mathbb{R}^2\times\mathbb{R}^2$.) Let $V=f^{-1}(0)$. Let $R>0$, and $B_R$ be the ball of radius $R$ in $\mathbb{R}^4$. What is the smallest exponent $n$ one can have in the following inequality:
$$ \#(V\cap B_R\cap \mathbb{Z}^4)\le C_{f,\epsilon}R^{n+\epsilon},$$
where $C_f$ is a constant that only depends on $f$ and $\epsilon$? In particular, can we take $n=2$? My guess comes from the few examples that I try: $ac+bd$, $ad-bc$ and linear combinations of $a^2+b^2$ and $c^2+d^2$. In these cases we can use the divisor bound $\tau(n)\le C_\epsilon n^\epsilon$, but in general there doesn't seem to be the sort of factorization that makes the divisor bound applicable.