Count Smaller Or Equal Elements In Array