title: matlab count rows contain same elements in matrix
body: <p>I have a matrix like this:</p>
  
  <pre><code>A = [1   2   3
       3   4   5
       6   8   7
       7   9   11
       12  13  15
       17  18  19
  ];
  </code></pre>
  
  <p>How can I count rows that contain same element? In this case it  will result 4: row 1 and row 2 contain 3; row 3 and row 4 contain 7.
  thank you...</p>