Practice to count number of line from file