The search endpoint's response should include information about the total number of hits so the client can decide whether to fetch a next page of results.