How many are smaller than me? | 7 kyu codewars | javascript

Published --