Mongodb Query Array Size Python Compiler With Input Option