Leetcode Count Pairs From Two