There are a different number of tasks depending on which map you're playing. The Skeld has 19 tasks, MIRA HQ has 20 tasks, Polus has 22 tasks, and The Airship has 24 tasks.