Added countNewLines to utils

I want to use this in some of my upcoming fixers.
Then sb blow it, maybe even me.
No need to follow that and blow it too.