Mongodb Query Array Size Python Compiler Matplotlib