Multiplicity function for tensor powers of modules of the An algebra