<query id="getDocumentDeclaredCount" action="select">
    <tables>
        <table name="document_declared_log" />
    </tables>
    <columns>
        <column name="count(*)" alias="count" />
    </columns>
</query>
