Counting Elements In Two Arrays Leetcode