The multiplicity of a set of homogeneous polynomials over a commutative ring