Specifying criteria for count operation in MongoDB component

In current version count operation in Camel MongoDB component can return only total amount of documents in collection. Now you can specify criteria as DBObject in message body and operation will return the amount of documents matching this criteria. To get total amount of documents, you should invoke count operation without any value in message body.