countLinesInFile

Description: counts the lines of a file, return value is the amount of lines
Parameter: