Replace count command's nil query with empty doc.

Fixes MGO-47, identified by Daniel Gottlieb as having been
introduced by the 2.7.7-pre change d71566a5 in the server.