I want get count chat messages between me and my friend (between two people). I would like use php apy.
It will somehow find the number of CHAT messages between us ?

Thanks..
--------

edit: Thank you luca. It is found! And I would like messages count cut to half so How many send messages me and how many send messages my friend. Thank you