In «رَأَيْتُ اثْنَيْ عَشَرَ طَالِبًا», the noun طَالِبًا is genitive.Al-Murakkabāt — Compound Numerals, the Twelve Exception and Declining Baalbek