ModelHelper::getRows(): Make $count_query use same DB as $db_query