excercise 3: file in, line count out