select tally from /test/malert_status where agent='huawei mttrapd #0000999' limit -1 -- { loop(1000) equal(0,tally,1)}