asynchronous version of file line counter
addedasync version of line counter