Come si fa a sapere quanti elementi sono presenti in un array?