In “al-mawāqīt ... khamsah,” what is the syntactic role of “khamsah”?

Chapter on the Mīqāts: Five Stations and Entering Iḥrām