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