[php] difference between $query>num_rows() and $this->db->count_all_results() in CodeIgniter & which one is recommended