Come faccio a sapere quante righe ha un file di testo?