linecounter looks perfect. Great job James.