Count Pairs in Two Arrays

Try to solve the Count Pairs in Two Arrays problem.

Statement

You are given two positive integer arrays, nums1 and nums2, both of length nn ...