Improved Utility Functions

I want to use this in some of my upcoming fixers.
> Wouldnt someone be more interested in linecount of content itself?

I wasn't when I was using this. Used it a few times, and I was interested in the number of characters. I can change it if you think it would be better like that? // cc @keradus