fixed updateResCount.php to use fetch_array

I missed updateResCount.php when I was changing fetch_all to fetch_array.