CountQueries and CountQueriesWithPattern ran KEYS. With an empty
prefix, KEYS * builds a reply of every key on the server. The stats
endpoint calls it on each request. On a shared Dragonfly with about
1M keys, this raised memory on the server.
Count with a cursor SCAN instead. The count does not hold the key
list in memory. A test checks that no KEYS command is sent.