With elemMatch, we just need to evaluate the subdocument (field) against each requirement (argument).

For example, if wanting to match object.name and object.count, the arguments would be name and object, and the subdocument would be an object.