Fix error in total_access_count