yeah but how can i know what is the most item ordered with it.

I mean the concept is clear but programmaticly what is the Algorithim for it ??
should I start counting for each item ordered with this item ?

if anyone have done it before or have read of how to do it, please help ot give links

Thanks
Aiman Al-Jumoay