There's no published number. Warnings on Movie Star Planet are handed out at the discretion of the moderation team, and the exact threshold isn't something the game makes public.
What matters more than counting warnings is avoiding them in the first place. Breaking the rules repeatedly, sharing personal details, or being rude to other players tends to escalate quickly, and a ban can follow without much notice. Play it safe and you'll never have to wonder how many you have left.