Multiplicity function