added getLineCount with promise return + tests