title: Get count CHAT message
body: <p>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 ?</p>
  
  <h2>Thanks..</h2>
  
  <p>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</p>