perf(river): reduces queries to list responses in the river

Rather than always COUNT() responses first, we simply fetch one more than we
need. In case we get back 1, 2, or 3 responses we don’t need a separate
query to get the count. At the worst case this simply converts 0-returning
COUNT queries to empty-returning fetch queries.

This also fixes the order of discussion replies in the river.

Fixes #7664, #7668
Are you referring to making a 3rd pagination model in my other PR? Can be more specific?