Karina,

Good that you are testing the filters. Keep in mind that a SQL count statement can be very expensive as the server needs to read all the data and count. If you do this often you might get an angry system operator on the phone