CXX-295 Allow count to work with query hints