does the Node.js driver for MongoDB support functions as selectors?

does the Node.js mongoDB driver support $where predicates in remove(…)/count(…) operations? it seems to work for a regular find(…), but i receive unexpected results (false positives) with other operations.