Added arraycount