Come si fa a sapere quanti index ci sono in un array?