array count check