fix issue with _id as array and implement $all and $nall operators
now Model.count returns the number of document of the matching type