Update Count and ElementAt for arrays