Count Smaller Elements Leetcode