String matchup

Given two arrays of strings, return the number of times each string of the second array appears in the first array. Example array1 = ['abc', 'abc', 'xyz', 'cde', 'uvw'] array2 = ['abc', 'cde', ...