refactor Ejercicio04 added method countWordLine