mongodb lte and gte not working in python code example Example: mongodb greater than db.yourDataBase.find({counter:{$gt:2}})