Let $X$ be a smooth affine cubic curve in $\mathbb A^2$ defined by $f(T_1,T_2)\in\mathbb Z[T_1,T_2]$ (of course $\deg(f)=3$ by definition), and $$n(f, B)=\{(x_1,x_2)\in\mathbb Z^2| |x_1|\leq B, |x_2|\leq B, f(x_1,x_2)=0\}.$$ If we require $X$ has a smooth projective closure in $\mathbb P^2$ (Thanks for the comments of Prof. Silverman), are there any uniform upper bounds of $n(f, B)$? We allow the bound depending on $B$.
PS. "Uniform" means the upper bound doesn't depend on $f$, so Siegel's integral points theorem is insufficient.