Mongodb Query Check Array Count Function