كَمْ رَجُلًا ضَرَبْتَ؟ — How many men did you strike?
كَمْ: interrogative, indeclinable, in the accusative position as the fronted direct object.
رَجُلًا: singular accusative interrogative tamyīz.
ضَرَبْتَ: past verb with subject tāʾ.
The verb has no object pronoun already occupying its object slot, so kam itself functions as that object.