Count uniques in sparse sorted array | Meta