Win32Api based LineCounter.