<query id="getCategorySdocumentCount" action="select">
    <tables>
        <table name="documents" />
    </tables>
    <columns>
        <column name="count(*)" alias="count" />
    </columns>
    <conditions>
        <condition operation="equal" column="category_srl" var="category_srl" filter="number" notnull="notnull" />
        <condition operation="equal" column="module_srl" var="module_srl" filter="number" notnull="notnull" pipe="and" />
    </conditions>
</query>
