#282: load_dataset.php, 'count()' more reliable than 'index'