Counting Elements In Two Arrays Leetcode Problems