As much as needed to mentally/physically feel ready for a high level of output, while doing your best to mitigate the risk for injury
Top/working sets are game day, this is your practice, rehearsal and inventory
Also, attempt to accumulate as little fatigue as possible to prevent taking away from top/working sets
I never list the number of warmup sets for a workout. Use the amount that works best for you.