If you gain an amount of life "for each" of something or "equal to the number" of something, that life is gained as one event and MJ, Rising Star's ability triggers only once.

Artwork
Loading artwork…
MJ, Rising Star
Marvel Super Heroes Commander · #773 · EN
Nonfoil—Foil—
Card rules
Vigilance (Attacking doesn't cause this creature to tap.)
Whenever you gain life, put a +1/+1 counter on MJ.
2/3
"Will they? Won't they? Find out next time, on the season finale of *Secret Hospital*."
Uncommon · Illustrated by Bachzim
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Oathbreaker Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
In a Two-Headed Giant game, life gained by your teammate won't cause MJ, Rising Star's ability to trigger, even though it caused your team's life total to increase.
The ability of MJ, Rising Star triggers just once for each life-gaining event, regardless of how much life is gained.
If MJ, Rising Star is dealt lethal damage at the same time that you gain life, she won't receive a counter from her ability in time to save her.
Each creature with lifelink dealing combat damage causes a separate life-gaining event. For example, if two creatures you control with lifelink deal combat damage at the same time, MJ, Rising Star's ability will trigger twice. However, if a single creature you control with lifelink deals combat damage to multiple creatures, players, planeswalkers, and/or battles at the same time (perhaps because it has trample or was blocked by more than one creature), the ability will trigger only once.