mongodb getting value greater than a quantiy and one more condition code example Example: mongodb greater than db.yourDataBase.find({counter:{$gt:2}})