title: check how many elements are equal in two numpy arrays python
body: <p>I have two numpy arrays with number (Same length), and I want to count how many elements are equal between those two array (equal = same value and position in array)</p>
  
  <pre><code>A = [1, 2, 3, 4]
  B = [1, 2, 4, 3]
  </code></pre>
  
  <p>then I want the return value to be 2 (just 1&amp;2 are equal in position and value)</p>