<query id="countMailLogByType" action="select">
    <tables>
        <table name="advanced_mailer_log" />
    </tables>
    <columns>
        <column name="count(*)" alias="count" />
    </columns>
    <conditions>
        <condition operation="equal" column="status" var="status" />
    </conditions>
</query>
