Solve the programming task below in a Python markdown code block.
You have two arrays in this kata, every array contain only unique elements. Your task is to calculate number of elements in first array which also are in second array.
Also feel free to reuse/extend the following starter code:
```python
def match_arrays(v, r):
```