How are both components of «أَحَدَ عَشَرَ» treated?

Al-Murakkabāt — Compound Numerals, the Twelve Exception and Declining Baalbek