SERVER-12744 port tests for count stage of query execution

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>