Added classifiedDocumentCount implementation.