count lines with memchr