Why is kam not the direct object in «كَمْ رَجُلٍ ضَرَبْتَهُ»?

Al-Kināyāt — Kam, its Tamyīz and Syntactic Positions