Corrected SORT limit for count endpoint