كَمْ يَوْمًا سَفَرُكَ؟ — How many days is your journey?
كَمْ: interrogative with a duration meaning, in the nominative position as a fronted predicate.
يَوْمًا: accusative tamyīz.
سَفَرُكَ: delayed nominative topic, with ka as its genitive pronoun.
The question seeks the duration of the journey, which is why the source calls kam the predicate.