So I have a file, which consists of multiple very long lines, so long that I don't want to read the entire line for memory concerns. And for each line, I want to count the number of some special character, let's call it X