Use more specific selector to count record in "sort by" test