Redefined count- no longer destroys array