Kaph is the closed fist or grasp. The preposition, like the radical, generally means to grasp something, either literally or figuratively. In this case the preposition means a grasp, clutch, or total number of (which harkens back to its more primitive meaning, like the noun k.ol).