Fix some small issues
Only count lines with data as for dls1 count
Added simple stats server