فِيهَا اثْنَتَانِ وَأَرْبَعُونَ حَلُوبَةً
In it are forty-two milk-giving she-camels.
Fīhā functions as a fronted predicate; ithnatān wa-arbaʿūn is the compound number, and ḥalūbatan is its accusative specification (tamyīz).
Sūdan describes their black condition. In ka-khāfiyati, the prefix kāf marks comparison. The syntax thus moves from number to quality and finally to a visual likeness.