SERVER-12460 faster count for simple queries