I found this statement, and I can't get a proof:
Given $X\subset \mathbb{P}^{n}$ an irreducible projective set of dimension $d$ and degree $e$, and given $H_{1},...,H_{d}$ hypersurfaces with degrees $e_{1},...,e_{d}$, respectively, such that $X\cap H_{1}\cap...\cap H_{d}$ is a finite set of points, then the number of points is precisely $ee_{1}...e_{d}$, counted with multiplicity.
Nothing is assumed about the regularity of the sequence of the polynomials defining the hypersurfaces.
Could anyone give me a hint about how can it be proven?
Thanks a lot in advance.