removed references to HookedArray, which had already been removed, and fixed count issue in []=