[Git][ghc/ghc][wip/T18570] Calculate multiplicity for record selector functions