Enable PDF for document counting.