If a spell has multiple instances of sunburst, each one applies. For example, if you activate the abilities of two Solar Arrays and then cast Selfcraft Mechan (an artifact creature), it will have two instances of sunburst and will thus enter with two +1/+1 counters on it for each color of mana spent to cast it.

Artwork
Loading artwork…
Solar Array
Edge of Eternities Commander · #18 · EN
Nonfoil—Foil—
Card rules
Sothera collapses, but its light is not yet gone.
Rare · Illustrated by Sergey Glushakov
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic 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
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
The five colors are white, blue, black, red, and green. Colorless is not a color.
Sunburst checks what mana was actually spent to cast the spell. If an effect allows you to spend mana “as though it were” mana of any color or type, that allows you to spend mana you couldn’t otherwise spend, but it doesn’t change what mana you spent to cast the spell.