The Marine Corps takes the number of "slots" they have for each enlisted rank, above the rank of E-3, and allocates them to the different MOS's (enlisted jobs). In other words, MOS 123 may be allowed to have 5,000 E-4s at any point in time and 2,000 E-5s, and MOS 456 may be authorized 7,000 E-4s, and 5,000 E-5s (as a general rule, the higher the rank, the fewer positions there are).
In order to promote someone (above the rank of E-3), there must be a "vacancy." For example, if an E-9 retires in a certain MOS, that means that one E-8 can be promoted to E-9, and that opens an E-8 slot, so one E-7 can be promoted to E-8, and so-forth. If 200 E-5s get out of the Marine Corps in a particular MOS, then 200 E-4s can be promoted to E-5.