mongo query support for count