[php] How can I count the numbers of rows that a MySQL query returned?