Array Functions - Searching in arrays

Create a function to compare 2 arrays that returns the number of values
in common between the arrays. Use the 2 example arrays and make sure
your solution uses array_search().