Python Array Count Method Mongodb Shell