I have this data:

```
x = [1,0,1,0,1]
y = [0,0,1,0,0]

```

Now, I want to match the x and y matrices. If each data have the same value, the program will count it as 1, if not then zero. Then after it counts the data, it will get the sum. The output is;

```
Output: 3

```

So, to explain, the first column of x and y do not match (1 and 0), then the next three data (0 and 0), (1 and 1), and (0 and 0) are the same value. So, if we will count it, the sum is 3.

Thanks in advance!